Type: AceType;
The Type property determines access type to an object.
Executing the example requires that the repository contains an object with the Obj_1 identifier.
Sub Main;
Var
MB: IMetabase;
ObjDesc: IMetabaseObjectDescriptor;
SecDesc: ISecurityDescriptor;
AcessCL: IAccessControlList;
ACE: IAccessControlEntry;
Type: AceType;
Begin
MB:=MetabaseClass.Active;
ObjDesc:=MB.ItemById("Obj_1");
SecDesc:=ObjDesc.SecurityDescriptor;
AcessCL:=SecDesc.Acl;
ACE:=AcessCL.Item(0);
Type:=ACE.Type;
End Sub Main;
After executing this example the Type variable contains access type of the first additional parameter of security object.
See also: