Click or drag to resize

AuthenticateControllerAttributeTryGetPrincipal Method

Attempt to authorize and provide current principal for specified sessionID.

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.100-beta
Syntax
public static bool TryGetPrincipal(
	Guid sessionID,
	out SecurityPrincipal securityPrincipal
)
Request Example View Source

Parameters

sessionID
Type: SystemGuid
Session ID to user.
securityPrincipal
Type: GSF.SecuritySecurityPrincipal
Principal of user with specified sessionID, if found.

Return Value

Type: Boolean
true if principal was found for specified sessionID; otherwise, false.
See Also