IdeaBlade DevForce 2010 Help Reference
GetRolesCore Method
See Also  Send Feedback
IdeaBlade.EntityModel.Web Assembly > IdeaBlade.EntityModel.Web Namespace > AspAuthenticatingLoginManager Class : GetRolesCore Method



credential
Get roles for the authenticated user.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function GetRolesCore( _
   ByVal credential As ILoginCredential _
) As IEnumerable(Of String)
Visual Basic (Usage)Copy Code
Dim instance As AspAuthenticatingLoginManager
Dim credential As ILoginCredential
Dim value As IEnumerable(Of String)
 
value = instance.GetRolesCore(credential)
C# 
protected virtual IEnumerable<string> GetRolesCore( 
   ILoginCredential credential
)
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.