IClusterService.SetJobCachedCredentials Method
This method supports the infrastructure and is not intended to be used directly from your code.
Sets the RunAs credentials for the specified job.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Sub SetJobCachedCredentials ( _
jobId As Integer, _
userName As String, _
cachedCredentials As Byte() _
)
void SetJobCachedCredentials (
int jobId,
string userName,
byte[] cachedCredentials
)
void SetJobCachedCredentials (
int jobId,
String^ userName,
array<unsigned char>^ cachedCredentials
)
void SetJobCachedCredentials (
int jobId,
String userName,
byte[] cachedCredentials
)
function SetJobCachedCredentials (
jobId : int,
userName : String,
cachedCredentials : byte[]
)
Parameters
- jobId
The job identifier.
- userName
The name of the RunAs user.
- cachedCredentials
The encrypted credentials that are cached on the client computer.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
IClusterService Interface
IClusterService Members
Microsoft.ComputeCluster Namespace