PolicyServerClientLoadPolicy Method |
Loads certificate templates available for enrollment. Certificate templates are populated in
Templates property if the method succeeds.
Namespace:
PKI.Enrollment.Policy
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public void LoadPolicy(
string userName = null,
SecureString password = null
)
Public Sub LoadPolicy (
Optional userName As String = Nothing,
Optional password As SecureString = Nothing
)
public:
void LoadPolicy(
String^ userName = nullptr,
SecureString^ password = nullptr
)
member LoadPolicy :
?userName : string *
?password : SecureString
(* Defaults:
let _userName = defaultArg userName null
let _password = defaultArg password null
*)
-> unit
Parameters
- userName (Optional)
- Type: SystemString
Specifies the user name to authenticate in enrollment policy server.
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.
- password (Optional)
- Type: System.SecuritySecureString
Specifies the password to authenticate in enrollment policy server.
This parameter must be used only when UserNameAndPassword authentication
method is used. This parameter must be omitted in all other authentication methods.
See Also