AcceptSecurityContext

(Engine-Level Function)

Description: Accepts a Kerberos security context from a client and returns the user principal name (UPN) from the context, along with any output to be returned to the client for mutual authentication.
Warning: This function should be used only by advanced programmers.
Returns: Boolean. TRUE if the security context was successfully accepted and a user name was extracted
Usage: Script Only.
Function Groups: Security
Related to:  
Format: AcceptSecurityContext(InputBuffer, UserName, OutputBuffer)
Parameters:  
InputBuffer
Required. The security context from a client
UserName
Required. A variable that will receive the UPN format username of the user that created the context if the context is successfully validated.
OutputBuffer
Required. Any security context response to be returned to a client.
Comments:

Used to validate a security context from a VIC.

Example:

  If AuthRequired;
  [
    NegotiateTest = AcceptSecurityContext(AuthToken, AccountName, ContextBuffer);
    ...
  ]