RoleProvider.GetAllRoles Method
.NET Framework 3.0
Gets a list of all the roles for the configured applicationName.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
GetAllRoles is called by the GetAllRoles method of the Roles class to retrieve a list of role names from the data source. Only the roles for the specified ApplicationName are retrieved.
If no roles exist for the configured applicationName, we recommend that your provider return a string array with no elements.
Community Additions
ADD
Show: