Share via


SPPolicyRole.Id property

Gets the GUID of the policy role.

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

Syntax

'Declaration
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As SPPolicyRole
Dim value As Guid

value = instance.Id
public Guid Id { get; }

Property value

Type: System.Guid
A System.Guid that identifies the policy role.

Remarks

The ID is zero until the policy role is added to the collection.

See also

Reference

SPPolicyRole class

SPPolicyRole members

Microsoft.SharePoint.Administration namespace