Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICompactServerUrlGroup::SetAuthentication method

Sets the authentication scheme for the URL group.

Syntax


HRESULT SetAuthentication(
  [in]                            ULONG authSchemeCount,
  [in, size_is(authSchemeCount)]  AUTHENTICATION_INFO authInfo
);

Parameters

authSchemeCount [in]

Specifies the size of the authInfo array.

authInfo [in]

An array of AUTHENTICATION_INFO structures. The Scheme member in each of the array elements must be unique.

Return value

The following values are common:

Return codeDescription
S_OK

The method call was successful.

E_INVALIDARG

Multiple elements with the same authentication scheme were defined.

 

Remarks

If client certificate authentication is enabled, the caller must send the client certificate hash for the AddUrl method.

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

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Community Additions

Show:
© 2014 Microsoft. All rights reserved.