AuthenticationService.IsLoggedIn Method
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.
Determines whether the current user is authenticated.
public:
bool IsLoggedIn();
[System.ServiceModel.OperationContract]
public bool IsLoggedIn ();
[<System.ServiceModel.OperationContract>]
member this.IsLoggedIn : unit -> bool
Public Function IsLoggedIn () As Boolean
Returns
true
if the user has been authenticated; otherwise, false
.
- Attributes
Remarks
The IsLoggedIn method checks whether the current user is authenticated by checking the IsAuthenticated.property.
Note
Do not call the IsLoggedIn method from code that is executing on the Web server. You call the IsLoggedIn method only as part of a WCF service.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για