2 out of 2 rated this helpful - Rate this topic

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Redistributable

Windows Management Framework on Windows Server 2008 with SP2, Windows Server 2003 with SP2, Windows Vista with SP1, Windows Vista with SP2, and Windows XP with SP3

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

WSMan
Session

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.