Export (0) Print
Expand All

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 anonymousIdentification configuration section and the allowAnonymous attribute of the add configuration element used to specify profile properties.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft