IWSManEx3::SessionFlagUseCredSsp method

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

flags [out, retval]

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

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Server 2008 with SP2 and Windows Vista with SP2

Header

WSManDisp.h

IDL

WSManDisp.idl

Library

WSManDisp.tlb

DLL

WSMAuto.dll

See also

IWSManEx3

 

 

Show: