SPPolicyCollection.Add(String, String) SPPolicyCollection.Add(String, String) SPPolicyCollection.Add(String, String) Method

Definition

public:
 Microsoft::SharePoint::Administration::SPPolicy ^ Add(System::String ^ userName, System::String ^ displayName);
public Microsoft.SharePoint.Administration.SPPolicy Add (string userName, string displayName);
Public Function Add (userName As String, displayName As String) As SPPolicy
Parameters
userName
String String String
displayName
String String String
Returns

Applies to