共用方式為


SPPolicyRoleCollection.Add Method

Include Protected Members
Include Inherited Members

Adds a policy role to the collection.

Overload List

  Name Description
Public method Add(String, String) Adds a policy role to the collection based on the specified policy role name and description.
Public method Add(String, String, SPBasePermissions, SPBasePermissions) Adds a policy role to the collection based on the specified policy role name, description, granted rights, and denied rights.

Top

See Also

Reference

SPPolicyRoleCollection Class

SPPolicyRoleCollection Members

Microsoft.SharePoint.Administration Namespace