43.27. setReadOnly

Name
setReadOnly
Description
Sets whether the target user should have only read-only API access or standard full scale access.
Parameters
  • string sessionKey
  • string login - User's login name.
  • boolean readOnly - Sets whether the target user should have only read-only API access or standard full scale access.
Return Value
  • int - 1 on success, exception thrown otherwise.