System.Web.Security.Roles: Property Members

The properties of System.Web.Security.Roles are listed below. For a list of all members, see the Roles Members list.

See Also: Inherited members from System.Object

Public Properties

static
ApplicationNamestring.

Gets or sets the name of the application to store and retrieve role information for.

[read-only]
static
CacheRolesInCookiebool.

Gets a value indicating whether the current user's roles are cached in a cookie.

[read-only]
static
CookieNamestring.

Gets the name of the cookie where role names are cached.

[read-only]
static
CookiePathstring.

Gets the path for the cached role names cookie.

[read-only]
static
CookieProtectionValueCookieProtection.

Gets a value that indicates how role names cached in a cookie are protected.

[read-only]
static
CookieRequireSSLbool.

Gets a value indicating whether the role names cookie requires SSL in order to be returned to the server.

[read-only]
static
CookieSlidingExpirationbool.

Indicates whether the role names cookie expiration date and time will be reset periodically.

[read-only]
static
CookieTimeoutint.

Gets the number of minutes before the roles cookie expires.

[read-only]
static
CreatePersistentCookiebool.

Gets a value indicating whether the role-names cookie is session-based or persistent.

[read-only]
static
Domainstring.

Gets the value of the domain of the role-names cookie.

[read-only]
static
Enabledbool.

Gets or sets a value indicating whether role management is enabled for the current Web application.

[read-only]
static
MaxCachedResultsint.

Gets the maximum number of role names to be cached for a user.

[read-only]
static
ProviderRoleProvider.

Gets the default role provider for the application.

[read-only]
static
ProvidersRoleProviderCollection.

Gets a collection of the role providers for the ASP.NET application.