Share via

ExtendedProtectionPolicy.CustomServiceNames Property


Gets the custom Service Provider Name (SPN) list used to match against a client's SPN.

 property System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ CustomServiceNames { System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ get(); };
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection? CustomServiceNames { get; }
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection CustomServiceNames { get; }
member this.CustomServiceNames : System.Security.Authentication.ExtendedProtection.ServiceNameCollection
Public ReadOnly Property CustomServiceNames As ServiceNameCollection

Property Value

A ServiceNameCollection that contains the custom SPN list that is used to match against a client's SPN.


This read-only property indicates the custom SPN list that is used to match against a client's SPN. By default, the server will determine a default SPN list according to its registered endpoints. For scenarios which require SPN checking, this property can be specified using a using a constructor to override the default list used to match against the client's SPN.

Applies to

See also