IWSManEx::SessionFlagUseKerberos method

The WSMan.WSMan.SessionFlagUseKerberos method returns the value of the authentication flag WSManFlagUseKerberos for use in the flags parameter of IWSMan::CreateSession.

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

Syntax

HRESULT SessionFlagUseKerberos(
  long *flags
);

Parameters

flags

The value of the constant.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header wsmandisp.h
Library WSManDisp.tlb
DLL WSMAuto.dll

See Also

IWSManEx

WSMan.WSMan.SessionFlagUseKerberos