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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub New ( _
    principal As SPPrincipal _
)
'Usage
Dim principal As SPPrincipal

Dim instance As New SPRoleAssignment(principal)
public SPRoleAssignment(
    SPPrincipal principal
)

Parameters

See Also

Reference

SPRoleAssignment Class

SPRoleAssignment Members

SPRoleAssignment Overload

Microsoft.SharePoint Namespace