CommandServiceClientInterface
Table of Contents
Methods
- drop() : Result
- Disconnects the users with the identifiers specified in the $userIds parameter from the document editing service.
- rename() : Result
- Renames the document
Methods
drop()
Disconnects the users with the identifiers specified in the $userIds parameter from the document editing service.
public
drop(string $documentKey, array<string|int, string> $userIds) : Result
Parameters
- $documentKey : string
-
Document identifier
- $userIds : array<string|int, string>
-
Array of user identifiers
Tags
Return values
Resultrename()
Renames the document
public
rename(string $documentKey, string $newName) : Result
Parameters
- $documentKey : string
-
Document identifier
- $newName : string
-
New document name