Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SimpleRoleProvider.GetAllRoles Method

Returns a list of all roles.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)
public override string[] GetAllRoles()

Return Value

Type: System.String[]
The names of all of the roles.
NoteNote:

If the WebSecurity.InitializeDatabaseConnection() method has not been called, and if you have configured your site to use the standard ASP.NET role provider, this method is passed through to the standard role provider. For more information, see the SimpleRoleProvider class overview.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.