AutoenrollmentGetPolicyServers Method

Gets locally registered enrollment policy server endpoints.

Definition

Namespace: PKI.Enrollment
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static PolicyServerClient[] GetPolicyServers(
	bool userContext
)

Parameters

userContext  Boolean
Specifies whether to retrieve enrollment policy server endpoints for user or machine context.

Return Value

PolicyServerClient
An array of registered enrollment policy server endpoints.

Exceptions

NotSupportedExceptionThe operating system do not support certificate enrollment policy servers.

See Also