- rolename
- Documentation for this section has not yet been entered.
![]()
A string array containing the names of all the users who are members of the specified role.
The Roles.GetUsersInRole(string) method calls the RoleProvider.GetUsersInRole(string) method of the default role provider to retrieve the user names associated with a role from the data source. Only the roles for the application that is specified in the Roles.ApplicationName property are retrieved.