IMetabaseUsers.Item

Syntax

Item(Index: Index): IMetabaseUser;

Parameters

Index — index of a repository user.

Description

The Item property returns parameters of a security user whose index is passed by the Index parameter.

Example

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:

IMetabaseUsers