ISecuritySubjects.Item

Syntax

Item(Index: Integer): ISecuritySubject;

Parameters

Index. The index of the security subject of the platform.

Description

The Item property returns the security subject of the platform, the index of which is passed by the Index parameter.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

SSS: ISecuritySubjects;

SS: ISecuritySubject;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

SSS:=MS.AllUsers;

SS:=SSS.Item(9);

End Sub Main;

After executing the example the "SS" variable contains the tenth user of the platform.

See also:

ISecuritySubjects