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
sender
Type: System.ObjectThe source of the event.
eventArguments
Type: System.Web.Security.RoleManagerEventArgsA System.Web.Security.RoleManagerEventArgs of the event.
See also
Reference
SPRoleManagerModuleEvents class