Returns the SecurityToken object that is currently in effect.

If there is a Token associated with the current thread then this method will return it. If not, then it will return the Token associated with the current process. If there are no associated Tokens, then this method returns Null.


Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetToken() As SecurityToken
C#
public static SecurityToken GetToken()
C++
public:
 static SecurityToken GetToken()
J#
public static SecurityToken GetToken()
JScript
public static  function GetToken() : SecurityToken

Return Value

The security token associated with the current thread, the current process, or Null.

See Also