次の方法で共有


SPAcl<T>.Add method

Adds a new access control entry (ACE) to the access control list.

Overload list

  Name Description
Public method Add(SPAce<T>)
Public method 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.
Public method Add(String, T, T, SPSite)
Public method 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.
Public method 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.

Top

See also

Reference

SPAcl<T> class

SPAcl<T> members

Microsoft.SharePoint.Administration namespace