Gets the document security information (user password, etc) for the current document in the PdfWebControl instance.
This method will return an object whose members can be changed; however any changes made will not affect the object until the setDocumentSecurity Method is called.
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance //get current view var mySecurity = myApi.getDocumentSecurity(); //show current security status window.alert(mySecurity.userPassword ? "A user password is set." : "No user password is set.");