Share via


AclEntry Class

Definition

public class AclEntry
type AclEntry = class
Public Class AclEntry
Inheritance
AclEntry

Constructors

AclEntry(AclType, String, AclScope, AclAction)

Public constructor

Properties

Action

The type of ACL to set

Scope

ACCESS or DEFAULT

Type

Type of ACL entry: User/group/Other/mask

UserOrGroupId

Object ID of the object depending on the type of the ACL entry

Methods

Equals(AclEntry)

Returns true if the type, type name, scope and action are all same

Equals(Object)

Returns true if the type, type name, scope and action are all same

ParseAclEntriesString(String)

Parses each acl entry string and then returns the list of all acl entries

ParseAclEntryString(String, Boolean)

Parses a AclEntry string into acl type, acl type Id, acl scope and acl action (permissions). Throws exception if the acl string is not correct.

SerializeAcl(List<AclEntry>, Boolean)

Serializes the ACL entries from a list of ACL entries to a string format

ToString()
ToString(Boolean)

Returns the string format of each ACL entry

Applies to