ApiProtectedRange
Class representing a user-protected range.
Methods
The following table lists the available methods.
| Method | Returns | Description |
|---|---|---|
| AddUser | ApiProtectedRangeUserInfo | null | Sets a user to the current protected range. |
| DeleteUser | boolean | Removes a user from the current protected range. |
| GetAllUsers | ApiProtectedRangeUserInfo[] | null | Returns all users from the current protected range. |
| GetUser | ApiProtectedRangeUserInfo | null | Returns an object that represents a user from the current protected range. |
| SetAnyoneType | boolean | Sets the type of the "Anyone" user to the current protected range. |
| SetRange | boolean | Sets a range to the current protected range. |
| SetTitle | boolean | Sets a title to the current protected range. |