Export (0) Print
Expand All

WdsCliAuthorizeSession function

Converts a session with a WDS server into an authenticated session.

Syntax


HRESULT WDSCLIAPI WdsCliAuthorizeSession(
  _Inout_   HANDLE hSession,
  _In_opt_  PWDS_CLI_CRED pCred
);

Parameters

hSession [in, out]

A handle to a session with a WDS server. This was a handle returned by the WdsCliCreateSession function.

pCred [in, optional]

Pointer to a WDS_CLI_CRED structure that contains the client's credentials.

Return value

If the function succeeds, the return is S_OK.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WdsClientAPI.h

Library

WdsClientAPI.lib

DLL

WdsClientAPI.dll

See also

Windows Deployment Services Client Functions
WDS_CLI_CRED
WdsCliCreateSession

 

 

Community Additions

ADD
Show:
© 2014 Microsoft