INetworkConnection2::IsDomainAuthenticatedBy method (netlistmgr.h)

Queries whether the specified domain authentication method succeeded for this network connection.

Syntax

HRESULT IsDomainAuthenticatedBy(
  NLM_DOMAIN_AUTHENTICATION_KIND domainAuthenticationKind,
  BOOL                           *pValue
);

Parameters

domainAuthenticationKind

Type: [in] NLM_DOMAIN_AUTHENTICATION_KIND

The specific domain authentication method to query about.

pValue

Type: [out, retval] BOOL*

The function dereferences pValue, and assigns TRUE if this network connection has the same domain authentication kind as that specified in the domainAuthenticationKind parameter; or FALSE if this network connection has a different domain authentication kind from that specified in domainAuthenticationKind.

Return value

Returns S_OK if successful.

Remarks

See Remarks for INetwork2::IsDomainAuthenticatedBy method.

Example

See Example for INetwork2::IsDomainAuthenticatedBy method.

Requirements

Requirement Value
Minimum supported client Windows 11 Build 22621
Target Platform Windows
Header netlistmgr.h

See also