SPRoleAssignmentCollection.Id property

Gets the ID of the role assignment collection.

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

Syntax

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

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

Property value

Type: System.Guid
The ID of the role assignment collection.

Remarks

The Id property can be used to verify whether two objects have the same security. Objects that share the same access control list (ACL) have the same role assignment collection ID.

See also

Reference

SPRoleAssignmentCollection class

SPRoleAssignmentCollection members

Microsoft.SharePoint namespace