Partilhar via


SPRoleAssignmentCollection.Id Property

Gets the ID of the role assignment collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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