Skip to content

Latest commit

 

History

History
87 lines (53 loc) · 2.66 KB

wsman-sessionflagusecredssp.md

File metadata and controls

87 lines (53 loc) · 2.66 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
WSMan.SessionFlagUseCredSsp method (WSManDisp.h)
Returns the value of the WSManFlagUseCredSsp authentication flag for use in the flags parameter of the WSMan.CreateSession method.
bb167445-91d6-4e06-a976-bf869320784a
multiple
SessionFlagUseCredSsp method Windows Remote Management
SessionFlagUseCredSsp method Windows Remote Management , WSMan object
WSMan object Windows Remote Management , SessionFlagUseCredSsp method
apiref
WSMan.SessionFlagUseCredSsp
WSMAuto.dll
COM
reference
05/31/2018

WSMan.SessionFlagUseCredSsp method

Returns the value of the WSManFlagUseCredSsp authentication flag for use in the flags parameter of the WSMan.CreateSession method. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value. For more information about how to call this method, see Session Constants.

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

Syntax

WSMan.SessionFlagUseCredSsp( _
  ByRef flags _
)

Parameters

flags [out]

The value of the constant.

Return value

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

Requirements

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

See also

WSMan

Session