Share via


UserRoleAssignment constructor (String, Role)

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

Syntax

'Declaration
Public Sub New ( _
    user As String, _
    role As Role _
)
'Usage
Dim user As String
Dim role As Role

Dim instance As New UserRoleAssignment(user, role)
public UserRoleAssignment(
    string user,
    Role role
)

Parameters

See also

Reference

UserRoleAssignment class

UserRoleAssignment members

UserRoleAssignment overload

Microsoft.SharePoint.Sharing namespace