Associates the specified credentials with all threads in this process (global). This method is required for setting the authentication credentials that will be used for all connections in the current process.

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

ToggleSyntax

Visual Basic (Declaration)
Public Shared Function SetProcessCredentials ( _
	creds As Credentials _
) As Credentials
C#
public static Credentials SetProcessCredentials(
	Credentials creds
)
Visual C++
public:
static Credentials^ SetProcessCredentials(
	Credentials^ creds
)
JavaScript
FileNet.Api.Util.ClientContext.setProcessCredentials = function(creds);

Parameters

creds
Type: FileNet.Api.Authentication..::.Credentials
A Credentials object that represents the user name and password or other credentials to be applied for all operations performed by the process.

Return Value

A Credentials object representing the previously applied process-wide credentials, or null if no previous call to SetProcessCredentials has been made.

ToggleSee Also