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