SPPolicyRoleCollection.Add method

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