XFINIUM.PDF Documentation
UserPassword Property



Xfinium.Pdf.Core.Security Namespace > PdfStandardSecurityHandler Class : UserPassword Property
Gets or sets the user password.
Syntax
'Declaration
 
Public Property UserPassword As String
'Usage
 
Dim instance As PdfStandardSecurityHandler
Dim value As String
 
instance.UserPassword = value
 
value = instance.UserPassword
public string UserPassword {get; set;}
public:
property String^ UserPassword {
   String^ get();
   void set (    String^ value);
}

Property Value

Password required to open the file.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfStandardSecurityHandler Class
PdfStandardSecurityHandler Members