EasyUA Reference
AddUser Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > CertificatePermissions Class : AddUser Method

certificate
The certificate to be modified.
accountName
The name of the user account to be given read access.

Glossary Item Box

Read access permissions for the private key of the specified certificate are added for the specified user account.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As CertificatePermissions
Dim certificate As X509Certificate2
Dim accountName As String
 
instance.AddUser(certificate, accountName)
C# 
public void AddUser( 
   X509Certificate2 certificate,
   string accountName
)

Parameters

certificate
The certificate to be modified.
accountName
The name of the user account to be given read access.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.