Associates the specified credentials with the current thread. This method is required for
setting the authentication credentials 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 SetThreadCredentials ( _
creds As Credentials _
) As Credentials |
JavaScript |
---|
FileNet.Api.Util.ClientContext.setThreadCredentials = function(creds); |
Return Value
A
Credentials object representing the previously applied thread credentials,
or null if no previous call to
SetThreadCredentials has been made.