SPPolicyRoleCollection.Add SPPolicyRoleCollection.Add SPPolicyRoleCollection.Add Method

Definition

Overloads

Add(String, String) Add(String, String) Add(String, String)
Add(String, String, SPBasePermissions, SPBasePermissions) Add(String, String, SPBasePermissions, SPBasePermissions) Add(String, String, SPBasePermissions, SPBasePermissions)

Add(String, String) Add(String, String) Add(String, String)

public:
 Microsoft::SharePoint::Administration::SPPolicyRole ^ Add(System::String ^ name, System::String ^ description);
public Microsoft.SharePoint.Administration.SPPolicyRole Add (string name, string description);
Public Function Add (name As String, description As String) As SPPolicyRole
Parameters
description
String String String
Returns

Add(String, String, SPBasePermissions, SPBasePermissions) Add(String, String, SPBasePermissions, SPBasePermissions) Add(String, String, SPBasePermissions, SPBasePermissions)

public:
 Microsoft::SharePoint::Administration::SPPolicyRole ^ Add(System::String ^ name, System::String ^ description, Microsoft::SharePoint::SPBasePermissions grantRightsMask, Microsoft::SharePoint::SPBasePermissions denyRightsMask);
public Microsoft.SharePoint.Administration.SPPolicyRole Add (string name, string description, Microsoft.SharePoint.SPBasePermissions grantRightsMask, Microsoft.SharePoint.SPBasePermissions denyRightsMask);
Public Function Add (name As String, description As String, grantRightsMask As SPBasePermissions, denyRightsMask As SPBasePermissions) As SPPolicyRole
Parameters
description
String String String
Returns

Applies to