Export (0) Print
Expand All
Expand Minimize

ICluster::DeleteCachedCredentials method

Deletes the credentials that were cached for the specified user.

Syntax


HRESULT DeleteCachedCredentials(
  [in]  BSTR userName
);

Parameters

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.

Return value

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.

Remarks

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.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster

 

 

Show:
© 2014 Microsoft