IMetabase.Profiles

Syntax

Profiles: IUserProfiles;

Description

The Profiles property returns the collection of profiles of the repository users.

Comments

This collection will contain profiles of all users created in the security manager of the current repository. Each profile contains the information about e-mail addresses, corresponding to the user and additional properties of the user.

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    Mb: IMetabase;
    Profs: IUserProfiles;
    Prof: IUserProfile;
Begin
    Mb := MetabaseClass.Active;
    Profs := Mb.Profiles;
    For Each Prof In Profs Do
        Debug.WriteLine(Profile:  + Prof.Name);
        Debug.WriteLine(Default Email: " + Prof.Email);
    End For;
End Sub UserProc;

On executing the example the names of user profiles and email addresses, set in each profile by default will be displayed in the development environment console.

See also:

IMetabase