DevForce Help Reference
GetRolesCore Method


Get roles for the authenticated user.
Syntax
'Declaration
 
Protected Overridable Function GetRolesCore( _
   ByVal credential As ILoginCredential _
) As IEnumerable(Of String)
'Usage
 
Dim instance As AspAuthenticatingLoginManager
Dim credential As ILoginCredential
Dim value As IEnumerable(Of String)
 
value = instance.GetRolesCore(credential)
protected virtual IEnumerable<string> GetRolesCore( 
   ILoginCredential credential
)

Parameters

credential
Remarks
Called only if the user has been authenticated. The default implementation calls Roles.Provider.GetRolesForUser if the Role Manager is enabled.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AspAuthenticatingLoginManager Class
AspAuthenticatingLoginManager Members

Send Feedback