SPPermissionCollection methods
NOTE: This API is now obsolete.
The SPPermissionCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add | Obsolete. Creates a permission object with the specified member and permissions in the collection. | |
AddCollection | Obsolete. Adds users and their permissions to a list, modifies the permissions of users for a list, modifies the permissions of an existing group for a list, or modifies the permissions of an existing role for a site. | |
CheckPermissions | Obsolete. Verifies whether the current user has the specified permissions for the list or site and, if not, throws an Access Denied exception. | |
DoesUserHavePermissions | Obsolete. Returns a value that indicates whether the current user has the specified permissions. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(Int32) | Obsolete. Removes the permission object at the given index in the collection. | |
Remove(SPMember) | Obsolete. Removes from the collection the permission that is associated with the specified member. | |
RemoveCollection | Obsolete. Removes the permissions represented by an integer array of member IDs from the collection. | |
ResetPermissions | Obsolete. Resets the permissions inherited from the parent object. | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
Top