IWSManEx3::SessionFlagUseCredSsp method (wsmandisp.h)

Returns the value of the authentication flag WSManFlagUseCredSsp for use in the flags parameter of IWSMan::CreateSession.

WSManFlagUseCredSsp is a constant in the __WSManSessionFlags enumeration. For more information, see Authentication Constants.

Syntax

HRESULT SessionFlagUseCredSsp(
  [out, retval] long *flags
);

Parameters

[out, retval] flags

Specifies the authentication flag to use.

Return value

If the method succeeds, it returns the authentication flag. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header wsmandisp.h
Library WSManDisp.tlb
DLL WSMAuto.dll
Redistributable Windows Management Framework on Windows Server 2008 with SP2 and Windows Vista with SP2

See also

IWSManEx3