SPPolicy.SPPolicyRoleBindingCollection.AddById method

Adds the policy role with the specified GUID to the binding collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub AddById ( _
    id As Guid _
)
'Usage
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim id As Guid

instance.AddById(id)
public void AddById(
    Guid id
)

Parameters

  • id
    Type: System.Guid

    A System.Guid object that specifies the policy role to add to the collection.

See also

Reference

SPPolicy.SPPolicyRoleBindingCollection class

SPPolicy.SPPolicyRoleBindingCollection members

Microsoft.SharePoint.Administration namespace