Export (0) Print
Expand All

Roles Properties

The Roles type exposes the following members.

  Name Description
Public property Static member ApplicationName Gets or sets the name of the application to store and retrieve role information for.
Public property Static member CacheRolesInCookie Gets a value indicating whether the current user's roles are cached in a cookie.
Public property Static member CookieName Gets the name of the cookie where role names are cached.
Public property Static member CookiePath Gets the path for the cached role names cookie.
Public property Static member CookieProtectionValue Gets a value that indicates how role names cached in a cookie are protected.
Public property Static member CookieRequireSSL Gets a value indicating whether the role names cookie requires SSL in order to be returned to the server.
Public property Static member CookieSlidingExpiration Indicates whether the role names cookie expiration date and time will be reset periodically.
Public property Static member CookieTimeout Gets the number of minutes before the roles cookie expires.
Public property Static member CreatePersistentCookie Gets a value indicating whether the role-names cookie is session-based or persistent.
Public property Static member Domain Gets the value of the domain of the role-names cookie.
Public property Static member Enabled Gets or sets a value indicating whether role management is enabled for the current Web application.
Public property Static member MaxCachedResults Gets the maximum number of role names to be cached for a user.
Public property Static member Provider Gets the default role provider for the application.
Public property Static member Providers Gets a collection of the role providers for the ASP.NET application.
Top
Show:
© 2014 Microsoft