Item(Index: Index): IMetabaseUser;
Index — index of a repository user.
The Item property returns parameters of a security user whose index is passed by the Index parameter.
Sub Main;
Var
MB: IMetabase;
Users: IMetabaseUsers;
MS: IMetabaseSecurity;
s: String;
Begin
MB:=MetabaseClass.Active;
MS:=MB.Security;
Users:=MS.Users;
s:=Users.Item(0).Name;
End Sub Main;
After executing this example the "s" variable stores a name of the first repository user.
See also: