ProfileBase.IsAnonymous Property

 

Gets a value indicating whether the user profile is for an anonymous user.

Namespace:   System.Web.Profile
Assembly:  System.Web (in System.Web.dll)

public bool IsAnonymous { get; }

Property Value

Type: System.Boolean

true if the user profile is for an anonymous user; otherwise, false.

Anonymous access to the user profile is enabled using the configuration section and the allowAnonymous attribute of the configuration element used to specify profile properties.

.NET Framework
Available since 2.0
Return to top
Show: