แก้ไข

แชร์ผ่าน


ProfileBase.IsAnonymous Property

Definition

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

public:
 property bool IsAnonymous { bool get(); };
public bool IsAnonymous { get; }
member this.IsAnonymous : bool
Public ReadOnly Property IsAnonymous As Boolean

Property Value

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

Remarks

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.

Applies to

See also