MembershipUser.ProviderUserKey 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 the user identifier from the membership data source for the user.
public:
virtual property System::Object ^ ProviderUserKey { System::Object ^ get(); };
public virtual object ProviderUserKey { get; }
member this.ProviderUserKey : obj
Public Overridable ReadOnly Property ProviderUserKey As Object
Property Value
The user identifier from the membership data source for the user.
Remarks
The ProviderUserKey property exposes the identifier from the membership data source typed as object
. The type of the identifier depends on the MembershipProvider or the MembershipUser. In the case of the SqlMembershipProvider, the ProviderUserKey can be cast as a Guid, since the SqlMembershipProvider stores the user identifier as a UniqueIdentifier.
Applies to
See also
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про