To learn which access rights over items a user currently has, use user/get_items_access:
svc=user/get_items_access¶ms={"userId":<long>, "directAccess":<bool>, "itemSuperclass":<text>}
Name | Description |
---|---|
userId | user ID |
directAccess | return only items to which the user has direct access rights |
itemSuperclass | item type (the list of all types see in the chapter Search items by property) |
{ <text>:<long> /* item ID: access rights */ }
Access rights are described in chapter Items access rights check.
|