Item(Index: Integer): IMetabaseGroup;
Index — group index.
The Item property returns users group of the active repository that index is passed by the parameter Index.
Sub Main;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
MG: IMetabaseGroups;
Mgroup: IMetabaseGroup;
Begin
MB:=MetabaseClass.Active;
MS:=MB.Security;
MG:=MS.Groups;
Mgroup:=MG.Item(0);
End Sub Main;
After executing this example the Mgroup variable contains the first users group of the active repository.
See also: