|
AuthenticationHandlerTryGetPrincipal Method
|
Attempt to get current security principal for specified sessionID.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax GSF.Web.Security.AuthenticationHandler.TryGetPrincipal = function(sessionID, useAlternate, securityPrincipal);
View SourceParameters
- sessionID Guid
- Session ID to user.
- useAlternate Boolean
- Indicate when to useSecurity Principles from alternate SecurityProvider
- securityPrincipal SecurityPrincipal
- Principal of user with specified sessionID, if found.
Return Value
Booleantrue if principal was found for specified
sessionID; otherwise,
false.
See Also