ICompactServerUrlGroup::GetAuthentication method

Gets the authentication scheme for a URL group.

Syntax

HRESULT GetAuthentication(
  [in]   AUTH_SCHEME scheme,
  [out]  AUTHENTICATION_INFO **authInfo
);

Parameters

  • scheme [in]
    Defines the authentication scheme for which an AUTHENTICATION_INFO structure is retrieved. See the AUTH_SCHEME enumeration for a list of authentication schemes.

  • authInfo [out]
    A reference to an AUTHENTICATION_INFO structure for the authentication scheme that is specified in the scheme parameter.

Return value

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

Requirements

Minimum supported client

None supported [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Redistributable

Windows Management Framework on Windows Server 2008 with SP2

Header

Managementserver.h

IDL

Managementserver.idl

Library

Managementserver.lib

See also

ICompactServerUrlGroup

AUTHENTICATION_INFO

AUTH_SCHEME

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012