Deletes the credentials that were cached for the specified user.
- userName [in]
The name of the RunAs user, in the form domain\user. The user name is limited to 80 Unicode characters. If this parameter is NULL or empty, the method deletes all credentials that have been cached by the calling user.
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, call the ICluster::get_ErrorMessage method.
Only the user that cached the credentials can delete the credentials.
To add credentials to the cache, use the ICluster::SetCachedCredentials method.
The method does not return an error if the name is not found.
|Compute Cluster Pack Client Utilities|