validatePassword method

validatePassword(password)

Returns true if the specified password is the same as the write-protection password the document was protected with. If document is not write-protected with password then returns false.

validatePassword(password: string)
ParameterTypeDescription
passwordstring

See Also