Filling the values of the fields defined in the custom module with user information!

Filling the values of the fields defined in the custom module with user information!

We have created a custom module where we provide a list of training course certificates to employees that contains information about certificates and users.
The users department already exists in the users information. Therefore, we should not refill them because it increases the error rate and creates data redundancy.
How to fill the values of the fields that are defined in Custome Module with user information?
For example, the user's department  or Site field.
In other words, we want the field values defined in the custom module to be fetched automatically from the service desk user profile.

                  New to ADSelfService Plus?