SPAcl<T> members
Represents an access control list (ACL).
The SPAcl<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPAcl<T>() | Initializes a new instance of the SPAcl<T> class. | |
SPAcl<T>(SPAcl<T>) |
Top
Properties
Name | Description | |
---|---|---|
AnonymousPermissionMask | Gets or sets the permission mask for anonymous access. | |
Count | Gets the number of access control entries (ACEs) in the access control list. | |
Item[Int32] | Gets the access control entry at the specified index in the access control list. | |
Item[String] | Gets the access control entry from the access control list based on the specified principal name. |
Top
Methods
Name | Description | |
---|---|---|
Add(SPAce<T>) | ||
Add(String, T, T) | Adds a new access control entry (ACE) to the access control list, overwriting any existing ACE for the specified principal based on the specified principal name, granted rights, and denied rights. | |
Add(String, T, T, SPSite) | ||
Add(String, String, [], T, T) | Adds a new access control entry (ACE) to the access control list, overwriting any existing ACE for the specified principal based on the specified principal name, principal display name, security identifier, granted rights, and denied rights. | |
Add(String, String, SPIdentifierType, [], T, T) | Adds a new ACE to the access control list, overwriting any existing ACE for the specified principal based on the specified principal name, principal display name, principal identifier type, security identifier, granted rights, and denied rights. | |
CalculatePermissions | Calculates permissions for current user. | |
Clear | Clears the access control list. | |
DoesUserHavePermissions | Performs an access check to determine if the current user has the specified permissions. | |
EffectivePermissions | Returns the effective permissions for the current user. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that can be used to iterate through the collection. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Init | Obsolete. Initializes an instance of the SPAcl<T> class. | |
MemberwiseClone | (Inherited from Object.) | |
MigrateUserAccount(String, String) | Changes the access control list (ACL) to use the newPrincipalName name in place of oldPrincipalName. | |
MigrateUserAccount(String, String, IEnumerable<[]>) | Changes the ACLs to use newPrincipalName name in place of oldPrincipalName. | |
OnAdd | Overrides this method to do special processing when an access control entry (ACE) is added. | |
Remove(String) | Removes the specified principal from the access control list based on the specified principal name. | |
Remove(SPAce<T>) | Removes the specified principal from the access control list based on the specified access control entry (ACE). | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Returns an enumerator that iterates through the access control list (ACL). |
Top