System.Web.Security.Roles.Domain Property

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

Syntax

public static string Domain { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Roles.Domain property value is set in the configuration for an ASP.NET application using the domain attribute of the roleManager configuration element.

If no value is specified in the configuration for the domain attribute, the Roles.Domain property returns null and the role-names cookie domain defaults to the behavior of the System.Web.HttpCookie System.Web.HttpCookie.Domain property.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0