The members of System.Web.Security.Roles are listed below.
See Also: Inherited members from System.Object
static | ApplicationName | string.
Gets or sets the name of the application to store and retrieve role information for. |
[read-only] static | CacheRolesInCookie | bool.
Gets a value indicating whether the current user's roles are cached in a cookie. |
[read-only] static | CookieName | string.
Gets the name of the cookie where role names are cached. |
[read-only] static | CookiePath | string.
Gets the path for the cached role names cookie. |
[read-only] static | CookieProtectionValue | CookieProtection.
Gets a value that indicates how role names cached in a cookie are protected. |
[read-only] static | CookieRequireSSL | bool.
Gets a value indicating whether the role names cookie requires SSL in order to be returned to the server. |
[read-only] static | CookieSlidingExpiration | bool.
Indicates whether the role names cookie expiration date and time will be reset periodically. |
[read-only] static | CookieTimeout | int.
Gets the number of minutes before the roles cookie expires. |
[read-only] static | CreatePersistentCookie | bool.
Gets a value indicating whether the role-names cookie is session-based or persistent. |
[read-only] static | Domain | string.
Gets the value of the domain of the role-names cookie. |
[read-only] static | Enabled | bool.
Gets or sets a value indicating whether role management is enabled for the current Web application. |
[read-only] static | MaxCachedResults | int.
Gets the maximum number of role names to be cached for a user. |
[read-only] static | Provider | RoleProvider.
Gets the default role provider for the application. |
[read-only] static | Providers | RoleProviderCollection.
Gets a collection of the role providers for the ASP.NET application. |
static | AddUsersToRole(string[], string)
| |
static | AddUsersToRoles(string[], string[])
| |
static | AddUserToRole(string, string)
| |
static | AddUserToRoles(string, string[])
| |
static | CreateRole(string)
| |
static | DeleteCookie()
| |
static | DeleteRole(string)
| |
static | DeleteRole(string, bool)
| |
static | FindUsersInRole(string, string)
| |
static | GetAllRoles()
| |
static | GetRolesForUser()
| |
static | GetRolesForUser(string)
| |
static | GetUsersInRole(string)
| |
static | IsUserInRole(string)
| |
static | IsUserInRole(string, string)
| |
static | RemoveUserFromRole(string, string)
| |
static | RemoveUserFromRoles(string, string[])
| |
static | RemoveUsersFromRole(string[], string)
| |
static | RemoveUsersFromRoles(string[], string[])
| |
static | RoleExists(string)
|