IAccessControlEntry.Type

Syntax

Type: AceType;

Description

The Type property determines an access type to an object.

Example

Executing the example requires that the repository contains an object with the OBJ_1 identifier.

Sub UserProc;
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 UserProc;

After executing the example the Type variable contains access type of the first additional parameter of security object.

See also:

IAccessControlEntry