IClusCfgCredentials::GetCredentials method

[This method is available for use only in Windows Server 2003.]

Retrieves the user credentials.

Syntax

HRESULT GetCredentials(
  [out] BSTR *pbstrUserOut,
  [out] BSTR *pbstrDomainOut,
  [out] BSTR *pbstrPasswordOut
);

Parameters

  • pbstrUserOut [out]
    Pointer to a BSTR that receives the user name.

  • pbstrDomainOut [out]
    Pointer to a BSTR that receives the domain name.

  • pbstrPasswordOut [out]
    Pointer to a BSTR that receives the user's password.

Return value

If the GetCredentials method successfully retrieves the credentials, it returns S_OK.

Any other HRESULT value indicates that the call failed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of server support

Windows Server 2003

IDL

ClusCfgServer.idl

DLL

ClCfgSrv.dll

IID

IID_IClusCfgCredentials is defined as 54AA9406-A409-4B49-B314-5F0A0CE4C88E

See also

IClusCfgCredentials