Associates the SecurityToken with the current thread. This method is required for setting the security token that will be used for all connections in the current thread.
Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function SetThreadSecurityToken( _ ByVal sc As SecurityToken _ ) As SecurityToken |
C# |
---|
public static SecurityToken SetThreadSecurityToken( SecurityToken sc ) |
C++ |
---|
public: static SecurityToken SetThreadSecurityToken( SecurityToken sc ) |
J# |
---|
public static SecurityToken SetThreadSecurityToken( SecurityToken sc ) |
JScript |
---|
public static
function SetThreadSecurityToken( sc : SecurityToken ) : SecurityToken |
Parameters
- sc
- A
.SecurityToken
Return Value
The security token that was previously in this slot.