/// <summary> /// Public constructor /// </summary> /// <param name="type">Type of ACL entry: User/group/Other/mask</param> /// <param name="userOrGroupId">Object ID of the object depending on the type of the ACL entry. For acl type other and mask it should be null</param> /// <param name="scope">ACCESS or DEFAULT</param> /// <param name="action">The type of ACL to set</param> public AclEntry(AclType type, string userOrGroupId, AclScope scope, AclAction action) { Type = type; UserOrGroupId = userOrGroupId; Scope = scope; Action = action; }
public AclEntry(AclScope scope, AclType type, string upnOrObjectId, GrantType grant) { Scope = scope; AclType = type; UpnOrObjectId = upnOrObjectId; Grant = grant; }