check_write_protection method

check_write_protection

Checks whether a password to modify is correct for a write protected presentation.

Returns

True if the presentation is write protected and the password is correct. False otherwise.

def check_write_protection(self, password):
    ...
ParameterTypeDescription
passwordstrThe password to check.

Remarks

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

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))

See Also