ProfileBase.IsAnonymous Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk