IScheduler::SetCachedCredentials method
Sets the credentials for the specified user in the credential cache, so that the job scheduler can use the credentials for submitting jobs.
Syntax
HRESULT SetCachedCredentials(
[in] BSTR UserName,
[in] BSTR password
);
Parameters
UserName [in]
The user name of the user for which you want the set the cached credentials, in the form domain\user. The user name is limited to 80 characters.password [in]
The password for the user for which you want the set the cached credentials.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 SP1 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |