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)
Visual Basic (Declaration) |
---|
Public Shared Function SetThreadSecurityToken ( _
st As SecurityToken _
) As SecurityToken |
C# |
---|
public static SecurityToken SetThreadSecurityToken(
SecurityToken st
) |
Visual C++ |
---|
public:
static SecurityToken^ SetThreadSecurityToken(
SecurityToken^ st
) |
JavaScript |
---|
FileNet.Api.Util.UserContext.setThreadSecurityToken = function(st); |
Parameters
- st
- Type: SecurityToken
Return Value
The security token that was previously in this slot.