Skip to main content

ApiProtectedRange

Class representing a user-protected range.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddUserApiProtectedRangeUserInfo | nullSets a user to the current protected range.
DeleteUserbooleanRemoves a user from the current protected range.
GetAllUsersApiProtectedRangeUserInfo[] | nullReturns all users from the current protected range.
GetUserApiProtectedRangeUserInfo | nullReturns an object that represents a user from the current protected range.
SetAnyoneTypebooleanSets the type of the "Anyone" user to the current protected range.
SetRangebooleanSets a range to the current protected range.
SetTitlebooleanSets a title to the current protected range.