check_write_protection method

check_write_protection

Determines whether a presentation is a password protected to modify.

Returns

True if the password is valid; otherwise, false.

def check_write_protection(self, password):
    ...
ParameterTypeDescription
passwordstrThe password for checking.

Remarks

  1. You should check the IProtectionManager.is_write_protected property before calling this method. 2. When the password is null or empty, this method returns false.

See Also