DisplayName: String;
The DisplayName property determines a full displayed name of security subject.
The displayed name is used in various platform dialog boxes to present a security subject. It can consist of letters in various languages, numbers, and characters. It is used for a more visual presentation of security subject purpose.
The displayed name for system security subjects is translated into different languages.
Sub UserProc;
Var
MB: IMetabase;
Users: IMetabaseUsers;
User: IMetabaseUser;
Begin
MB := MetabaseClass.Active;
Users := MB.Security.Users;
User := Users.Item(0);
Debug.WriteLine(User.DisplayName);
End Sub UserProc;
After executing the example the development environment console displays the full displayed name of the first user created in the platform security manager.
See also: