Share via


SPRoleManagerModuleEvents.GetRoles Method

Occurs when the role manager module is ready to create a role principal that represents the current user.

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

Syntax

'Declaration
Public Shared Sub GetRoles ( _
    sender As Object, _
    eventArguments As RoleManagerEventArgs _
)
'Usage
Dim sender As Object
Dim eventArguments As RoleManagerEventArgsSPRoleManagerModuleEvents.GetRoles(sender, eventArguments)
public static void GetRoles(
    Object sender,
    RoleManagerEventArgs eventArguments
)

Parameters

See Also

Reference

SPRoleManagerModuleEvents Class

SPRoleManagerModuleEvents Members

Microsoft.SharePoint.IdentityModel Namespace