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
- user
Type: System.String
- role
Type: Microsoft.SharePoint.Sharing.Role