| 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
Called only if the user has been authenticated. The default implementation calls Roles.Provider.GetRolesForUser if the Role Manager is enabled.
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