SPRoleAssignment constructor (SPPrincipal)
Collapse the table of content
Expand the table of content

SPRoleAssignment constructor (SPPrincipal)

Initializes a new instance of the SPRoleAssignment class that has no role definition bindings for the specified user or group.

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

public SPRoleAssignment(
	SPPrincipal principal
)

Parameters

principal
Type: Microsoft.SharePoint.SPPrincipal

The user or group.

Show:
© 2016 Microsoft