Share via


UserRoleAssignment.Role property

get/set of Role

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

Syntax

'Declaration
Public Property Role As Role
    Get
    Set
'Usage
Dim instance As UserRoleAssignment
Dim value As Role

value = instance.Role

instance.Role = value
public Role Role { get; set; }

Property value

Type: Microsoft.SharePoint.Sharing.Role

See also

Reference

UserRoleAssignment class

UserRoleAssignment members

Microsoft.SharePoint.Sharing namespace