public PolicyServerClient(
string url,
bool userContext,
PolicyAuthenticationEnum authentication,
string userName,
SecureString password
)
Public Sub New (
url As String,
userContext As Boolean,
authentication As PolicyAuthenticationEnum,
userName As String,
password As SecureString
)
public:
PolicyServerClient(
String^ url,
bool userContext,
PolicyAuthenticationEnum authentication,
String^ userName,
SecureString^ password
)
new :
url : string *
userContext : bool *
authentication : PolicyAuthenticationEnum *
userName : string *
password : SecureString -> PolicyServerClient
If the authentication type is set to ClientCertificate, this parameter must contains authentication certificate's thumbprint.
This parameter must be omitted when Kerberos authentication is used.
This parameter must be used only when UserNameAndPassword authentication method is used. This parameter must be omitted in all other authentication methods.
ArgumentNullException | The url parameter is null. |
NotSupportedException | The operating system do not support certificate enrollment policy servers. |