Returns a list of users with their access rights to the protected file with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | number | 1234 |
GET api/2.0/files/file/{fileid}/protectusers Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "fileId": 1234 }
List of users with their access rights to the protected file
{ "status": 0, "response": [ { "User": { "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB", "FirstName": "some text", "LastName": "some text", "UserName": "some text", "BirthDate": "2008-04-10T06-30-00.000Z", "Sex": true, "Status": "Active", "ActivationStatus": "NotActivated", "TerminatedDate": "2008-04-10T06-30-00.000Z", "Title": "some text", "WorkFromDate": "2008-04-10T06-30-00.000Z", "Email": "some text", "Contacts": "some text", "ContactsList": [ "some text" ], "Location": "some text", "Notes": "some text", "Removed": true, "LastModified": "2008-04-10T06-30-00.000Z", "TenantId": 1234, "IsActive": true, "CultureName": "some text", "MobilePhone": "some text", "MobilePhoneActivationStatus": "NotActivated", "Sid": "some text", "LdapQouta": 1234, "SsoNameId": "some text", "SsoSessionId": "some text", "CreateDate": "2008-04-10T06-30-00.000Z" }, "Email": "some text", "Id": "some text", "Image": "some text", "HasAccess": true, "Name": "some text" } ] }