GET api/user/privileges
Get account privileges for current tenant
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of account privileges models
Collection of AccountPrivileges| Name | Description | Type | Additional information |
|---|---|---|---|
| PrivilegeID | globally unique identifier |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| GroupName | string |
None. |
|
| GroupPrivileges | Collection of ControllerPermission |
None. |
|
| RouteScope | Collection of string |
None. |
|
| Fields | Collection of FieldPermission |
None. |
|
| AccountsApplied |
Number of account that these privileges apply to. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"privilegeID": "be02f525-4bc2-443a-a381-50979cb5a0be",
"customerID": "52da88bc-bddc-4458-9dcf-ac8baa9225d8",
"groupName": "sample string 1",
"groupPrivileges": [
{
"$id": "2",
"name": "sample string 1",
"allowDefault": true,
"verbs": {
"$id": "3",
"sample string 1": true,
"sample string 3": true
},
"actions": {
"$id": "4",
"sample string 1": true,
"sample string 3": true
}
},
{
"$ref": "2"
}
],
"routeScope": [
"sample string 1",
"sample string 2"
],
"fields": [
{
"$id": "5",
"id": "73e2a580-ac6d-4a26-b33a-2ee4e60a6597",
"privilegeGroupId": "fb93f8db-eb15-4cc9-875b-ebcf28523a7f",
"fieldName": "sample string 1",
"permission": 2,
"section": "sample string 3",
"restrictionUISetting": {
"$id": "6"
},
"restriction": "sample string 5",
"allowedPermissions": [
0,
0
]
},
{
"$ref": "5"
}
],
"accountsApplied": 1
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfAccountPrivileges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts">
<AccountPrivileges>
<AccountsApplied>1</AccountsApplied>
<CustomerID>52da88bc-bddc-4458-9dcf-ac8baa9225d8</CustomerID>
<Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Common">
<d3p1:FieldPermission>
<d3p1:AllowedPermissions xmlns:d5p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
</d3p1:AllowedPermissions>
<d3p1:FieldName>sample string 1</d3p1:FieldName>
<d3p1:ID>73e2a580-ac6d-4a26-b33a-2ee4e60a6597</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>fb93f8db-eb15-4cc9-875b-ebcf28523a7f</d3p1:PrivilegeGroupId>
<d3p1:Restriction>sample string 5</d3p1:Restriction>
<d3p1:RestrictionUISetting />
<d3p1:Section>sample string 3</d3p1:Section>
</d3p1:FieldPermission>
<d3p1:FieldPermission>
<d3p1:AllowedPermissions xmlns:d5p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
</d3p1:AllowedPermissions>
<d3p1:FieldName>sample string 1</d3p1:FieldName>
<d3p1:ID>73e2a580-ac6d-4a26-b33a-2ee4e60a6597</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>fb93f8db-eb15-4cc9-875b-ebcf28523a7f</d3p1:PrivilegeGroupId>
<d3p1:Restriction>sample string 5</d3p1:Restriction>
<d3p1:RestrictionUISetting />
<d3p1:Section>sample string 3</d3p1:Section>
</d3p1:FieldPermission>
</Fields>
<GroupName>sample string 1</GroupName>
<GroupPrivileges>
<ControllerPermission>
<Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Actions>
<AllowDefault>true</AllowDefault>
<Name>sample string 1</Name>
<Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Verbs>
</ControllerPermission>
<ControllerPermission>
<Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Actions>
<AllowDefault>true</AllowDefault>
<Name>sample string 1</Name>
<Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Verbs>
</ControllerPermission>
</GroupPrivileges>
<PrivilegeID>be02f525-4bc2-443a-a381-50979cb5a0be</PrivilegeID>
<RouteScope xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</RouteScope>
</AccountPrivileges>
<AccountPrivileges>
<AccountsApplied>1</AccountsApplied>
<CustomerID>52da88bc-bddc-4458-9dcf-ac8baa9225d8</CustomerID>
<Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Common">
<d3p1:FieldPermission>
<d3p1:AllowedPermissions xmlns:d5p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
</d3p1:AllowedPermissions>
<d3p1:FieldName>sample string 1</d3p1:FieldName>
<d3p1:ID>73e2a580-ac6d-4a26-b33a-2ee4e60a6597</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>fb93f8db-eb15-4cc9-875b-ebcf28523a7f</d3p1:PrivilegeGroupId>
<d3p1:Restriction>sample string 5</d3p1:Restriction>
<d3p1:RestrictionUISetting />
<d3p1:Section>sample string 3</d3p1:Section>
</d3p1:FieldPermission>
<d3p1:FieldPermission>
<d3p1:AllowedPermissions xmlns:d5p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
<d5p1:FieldPermissionEnum>Full</d5p1:FieldPermissionEnum>
</d3p1:AllowedPermissions>
<d3p1:FieldName>sample string 1</d3p1:FieldName>
<d3p1:ID>73e2a580-ac6d-4a26-b33a-2ee4e60a6597</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>fb93f8db-eb15-4cc9-875b-ebcf28523a7f</d3p1:PrivilegeGroupId>
<d3p1:Restriction>sample string 5</d3p1:Restriction>
<d3p1:RestrictionUISetting />
<d3p1:Section>sample string 3</d3p1:Section>
</d3p1:FieldPermission>
</Fields>
<GroupName>sample string 1</GroupName>
<GroupPrivileges>
<ControllerPermission>
<Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Actions>
<AllowDefault>true</AllowDefault>
<Name>sample string 1</Name>
<Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Verbs>
</ControllerPermission>
<ControllerPermission>
<Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Actions>
<AllowDefault>true</AllowDefault>
<Name>sample string 1</Name>
<Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
<d5p1:KeyValueOfstringboolean>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>true</d5p1:Value>
</d5p1:KeyValueOfstringboolean>
</Verbs>
</ControllerPermission>
</GroupPrivileges>
<PrivilegeID>be02f525-4bc2-443a-a381-50979cb5a0be</PrivilegeID>
<RouteScope xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</RouteScope>
</AccountPrivileges>
</ArrayOfAccountPrivileges>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ���\�ZW�� 5 xl/workbook.xml � (� ����0��&�C���h�N\�z�^�V�O�||K $���~;t2nh��G�ڗ��}�$�w=(�Ƃ�;a�b!J�"F�Ac��H�e�`dA�{i=^h���u�����bR�z�C��͞&�d4ֺ���"�)�`�ERH3nX`%��+|�ȕ2�D{�z+r^��㍽�(Y�_PK ���\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
���\ ~��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rc7757fb5f0884649" /></Relationships>PK ���\��2� 3 xl/worksheets/sheet1.xml � (� ���r�0F_�Ѿ�~���$q�v��]S��AI�����<v7 F�ҹ;y�h��I(��.��'�B�M�K��T�8xʒ�T��x��J��6�
]Ԣ͵/��s�Tmn�����B�eqlEg�4Pb�������j�SK���a��R�͛dI�����=%�<��/Ȓ�݈��2�z��R��?��8�fX���JQ�ǽ�%��E���mR4d
����k��u�k��~nJS� s�Q�1�AW����4��rɣ1��y�����E���<�x�C�($!$1圡�y2�ɔ��)E�n�D���h�GS�`��b{XQ��1N�8CvyF1�8z���<��S2L8�!B���r�Ñ�s�g��gO
Ӷz?z�C=�(��}�NY��>;/.�īK�9�v <'�\�̉�KDsb�t"�>���?r2l��|�����%��o7�E�77�E������f��*�ʻ�R�%��.���@��7��<�#|�
j�k+�FJ#��L� �?PK ���\ �O�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;��l�tK��?�$"�#۴�l]�H�B-*A����h~OO����Zo?������-��V9=خ�S4O���G�D�9��bC}��3�A�8���m��'S�;:u҂���%��p��?Dg̠p��iB� �w珡G�@�w[����<KT /��=2#Kc��*t��B��y�p��͗2��YQJUpY5��2��_�O�^:-��Fr!��y!U�9^���_l~ PK ���\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK ���\,k � xl/sharedStrings.xml � (� ���N�0E%�>N�6��4��� !
+�����_�[���
,=g�����oF'��I9;c#���pR�Ռ=ܟ�K(�����{Gb�qS�$J-��:��(�H�� qס�d鼁�~�Q�$���Y���eY"\oC��������-TS��֫W�q���u�:۔�м���}r�]�݀�_��K�;�\���+�r��Dl7����
���˲(�I+�t2C
�j����p*��vϨ,$TU+�VJ5e�N�X� �`Z����i�9�[2��;4|�Fb��/ТW�_)
ϣdzu
V������ߣ+��1�m�?�-z�hs2O���Xl���~ֹ3�Y����Ѳx��'PK- ���\�ZW�� 5 xl/workbook.xmlPK- ���\���� � � [Content_Types].xmlPK-
���\ ~��' ' U _rels/.relsPK- ���\��2� 3 � xl/worksheets/sheet1.xmlPK- ���\ �O�� P xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
Z xl/styles.xmlPK- ���\,k � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ���\U�%� 5 xl/workbook.xml � (� ����0��&�C���J���/ekhK�||� $���~;�`][[ے���\Ae}Ƙ�5���ь;a��0J�bVű����� s�AP�x�zO�?,�;��KĠ��AZ�w��S�����r4ֺ�I�b��|�m�"4�� ��ν)���qxD7H Ic~=��:tco�����/PK ���\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
���\lVX' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R5d21cac6641e4827" /></Relationships>PK ���\��2� 3 xl/worksheets/sheet1.xml � (� ���r�0F_�Ѿ�~���$q�v��]S��AI�����<v7 F�ҹ;y�h��I(��.��'�B�M�K��T�8xʒ�T��x��J��6�
]Ԣ͵/��s�Tmn�����B�eqlEg�4Pb�������j�SK���a��R�͛dI�����=%�<��/Ȓ�݈��2�z��R��?��8�fX���JQ�ǽ�%��E���mR4d
����k��u�k��~nJS� s�Q�1�AW����4��rɣ1��y�����E���<�x�C�($!$1圡�y2�ɔ��)E�n�D���h�GS�`��b{XQ��1N�8CvyF1�8z���<��S2L8�!B���r�Ñ�s�g��gO
Ӷz?z�C=�(��}�NY��>;/.�īK�9�v <'�\�̉�KDsb�t"�>���?r2l��|�����%��o7�E�77�E������f��*�ʻ�R�%��.���@��7��<�#|�
j�k+�FJ#��L� �?PK ���\#y�$� P xl/_rels/workbook.xml.rels � (� ��;n�0@�"p���'���K�4`$�6bK��4��:�H�B�h�C�L ?�?�۷id�d�`tI#-�t��٫�����F�a����XXѮ���yŹ=M�"3�e�>���3�v��8.�]2��י�C4J
���8O��`~1��z"쀶#��O��[H�@��-��K,�B�Y��?L���H���;_�TM-�jҤ�e�Cez�$_�
�^:-�5�
Y1K0+�oj��/6_PK ���\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK ���\,k � xl/sharedStrings.xml � (� ���N�0E%�>N�6��4��� !
+�����_�[���
,=g�����oF'��I9;c#���pR�Ռ=ܟ�K(�����{Gb�qS�$J-��:��(�H�� qס�d鼁�~�Q�$���Y���eY"\oC��������-TS��֫W�q���u�:۔�м���}r�]�݀�_��K�;�\���+�r��Dl7����
���˲(�I+�t2C
�j����p*��vϨ,$TU+�VJ5e�N�X� �`Z����i�9�[2��;4|�Fb��/ТW�_)
ϣdzu
V������ߣ+��1�m�?�-z�hs2O���Xl���~ֹ3�Y����Ѳx��'PK- ���\U�%� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\lVX' ' V _rels/.relsPK- ���\��2� 3 � xl/worksheets/sheet1.xmlPK- ���\#y�$� P xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
\ xl/styles.xmlPK- ���\,k � � xl/sharedStrings.xmlPK � �