Share via


ICluster.DeleteCachedCredentials Method

Deletes the credentials that were cached for the specified user.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Sub DeleteCachedCredentials ( _
    userName As String _
)
void DeleteCachedCredentials (
    string userName
)
void DeleteCachedCredentials (
    String^ userName
)
void DeleteCachedCredentials (
    String userName
)
function DeleteCachedCredentials (
    userName : String
)

Parameters

  • userName
    The name of the RunAs user, in the form domain\username. 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.

Remarks

Only the user that cached the credentials can delete the credentials.

To add credentials to the cache, call the ICluster.SetCachedCredentials method.

The method does not return an error if the name is not found.

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

ICluster Interface
ICluster Members
Microsoft.ComputeCluster Namespace