ISecuritySubjects.Count

Syntax

Count: Integer;

Description

The Count property returns the number of security subjects of the platform.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

SSS: ISecuritySubjects;

SS: ISecuritySubject;

i: Integer;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

SSS:=MS.AllUsers;

i:=SSS.Count;

End Sub Main;

After executing this example the "i" variable contains the number of all users of the platform.

See also:

ISecuritySubjects