public RemoveUser ( long userId, long transferTo, bool transferSheets, bool removeFromSharing ) : void | ||
userId | long | the Id of the user |
transferTo | long | (required if user owns groups): The ID of the user to transfer ownership to. /// If the user being deleted owns groups, they will be transferred to this user. /// If the user owns sheets, and transferSheets is true, then the deleted user’s sheets will be transferred to this user. |
transferSheets | bool | If true, and transferTo is specified, the deleted user’s sheets will be transferred. Else, sheets will not be transferred. Defaults to false. |
removeFromSharing | bool | Set to true to remove the user from sharing for all sheets/workspaces in the organization. If not specified, User will not be removed from sharing. |
return | void |