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": "e04acf34-0a8f-478d-b517-b06409ad702a",
"customerID": "cf8a3e89-cad5-4762-a0c8-7359b3968694",
"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": "95124749-9b10-40a0-84ae-eb88bfc36360",
"privilegeGroupId": "6c7c10a4-d662-4799-8fd2-e99b68dd0d4d",
"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>cf8a3e89-cad5-4762-a0c8-7359b3968694</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>95124749-9b10-40a0-84ae-eb88bfc36360</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>6c7c10a4-d662-4799-8fd2-e99b68dd0d4d</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>95124749-9b10-40a0-84ae-eb88bfc36360</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>6c7c10a4-d662-4799-8fd2-e99b68dd0d4d</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>e04acf34-0a8f-478d-b517-b06409ad702a</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>cf8a3e89-cad5-4762-a0c8-7359b3968694</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>95124749-9b10-40a0-84ae-eb88bfc36360</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>6c7c10a4-d662-4799-8fd2-e99b68dd0d4d</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>95124749-9b10-40a0-84ae-eb88bfc36360</d3p1:ID>
<d3p1:Permission>2</d3p1:Permission>
<d3p1:PrivilegeGroupId>6c7c10a4-d662-4799-8fd2-e99b68dd0d4d</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>e04acf34-0a8f-478d-b517-b06409ad702a</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 �1�\u��� 5 xl/workbook.xml � (� ��M�0��&ޡ�,%��.�0�����o�@����{���q}mLO>j�>w�B�9c��P�?�:΄q
B��Ō���4o�:�4I.�� A�;i=]h���u�����i��§ϞG?�h��N&aK�����6fE4(,h(��{[�#%.��y��z�Ē�S�5tco0����PK �1�\���� � [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
�1�\1W�' ' _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="Rb1ce8a6ebf384689" /></Relationships>PK �1�\��$� 3 xl/worksheets/sheet1.xml � (� ���r�0F_�Ѿ��d�:v��tѮ)�� �$�y�
Lp@�Ӎ-F�\��v�����P��]
��'�B�MwH��T_"�%W�^u-��,��JAm�i��E�k_�Dg�*����KudU5����܊�B(q̍=J��I�[����OJ��p��V�͛dI�����{JT)xF�=^�%��W�a��I�J��_�(S 6p��p�O啢��G�K^���P�$68�<���k��u�k���ڔ�N �"B!�(G��(�����m�W��x���g�Q��c�}2�d��C)D4�Q��>}:��!�D)#�<���ɧ�c���Q�X��'=�����"�P�I�p��{|��Gc;�U?�Mq�67y�(y�m���g��Ãbg��w�`\zw$����\ω�K�9��tN�\�͉�K�l�)?��ǎ.�D����"�K�E�_V�E�w+Ȣ��wd>�YxrO>
���.��N�d~Y�'�ނ���
���5�'�?@�PK �1�\Y�LS� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�6IU�6lK/���8jbG��l,8W�*�6]����������m��:?Zà�r h�����zha��p�!Nx=.�����
�^h����&v�u31u]�8�i��k�R�2����V�Q��M�L_�;y���00�)yz
E�@�$�C��U�x���F �wS��2��������\U%���������sp�ҩSZN�Z%�®[�������ћ��}PK �1�\Ѓ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 �1�\T^]�p � xl/sharedStrings.xml � (� ��Mo�0�����e%v{p\�Zh�b�Nŀ1�Ї'�E�__%�zpzY��×x�]<[�=a �݊`:�v���p�7,�N��W��e}G�$u�b��OEA���]";,��}AC@Pt@��s!�v,�~t1�-Y6:�k��["��}������=~����c�Z���pN���;��.xkIS�͏72�0%W�:�����r�F5�(*����4��Z6*�.f�|+�J���bS��5Pb���"i�yB6��\�۲�����;L>�d[6���E�|�A��į�aВ�h�?g�_~�[p���o�BC�8�������p��1XMǗ�����VlN�~@���[�?Y��jE���PK- �1�\u��� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\1W�' ' U _rels/.relsPK- �1�\��$� 3 � xl/worksheets/sheet1.xmlPK- �1�\Y�LS� P xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
Z xl/styles.xmlPK- �1�\T^]�p � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�\7Kl�� 5 xl/workbook.xml � (� ����0D�&�C��Q)��x��}-�4Ж�5��$��ξ1Z�=���G��箠mCΘ�-j�;����:
!J�b�i���ʷFX���9�!(k|�O�?,?8�ڷ�A�J�2���S�����2k��$l �ߔ�a�Ŭ��� %�s�z���*wγ3��z�4K%��L��w�PK �1�\���� � [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
�1�\�.�~' ' _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="Rb33a44b48fec4476" /></Relationships>PK �1�\��$� 3 xl/worksheets/sheet1.xml � (� ���r�0F_�Ѿ��d�:v��tѮ)�� �$�y�
Lp@�Ӎ-F�\��v�����P��]
��'�B�MwH��T_"�%W�^u-��,��JAm�i��E�k_�Dg�*����KudU5����܊�B(q̍=J��I�[����OJ��p��V�͛dI�����{JT)xF�=^�%��W�a��I�J��_�(S 6p��p�O啢��G�K^���P�$68�<���k��u�k���ڔ�N �"B!�(G��(�����m�W��x���g�Q��c�}2�d��C)D4�Q��>}:��!�D)#�<���ɧ�c���Q�X��'=�����"�P�I�p��{|��Gc;�U?�Mq�67y�(y�m���g��Ãbg��w�`\zw$����\ω�K�9��tN�\�͉�K�l�)?��ǎ.�D����"�K�E�_V�E�w+Ȣ��wd>�YxrO>
���.��N�d~Y�'�ނ���
���5�'�?@�PK �1�\09w� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N�&��vÆm���$��ؑ�=�����ĂMW��==i���c�{�F�B��4 3����`�Ρ{�a���i�'�f���
��5�^i��gv&;�u����ϨN�υXr�2�����C�]7(z��<� ���u'�����B?%ϯAf�
�m`/DU���"U����p��z}�L��Wձ��T�2����K�Ni9Q;
$�B.k���,�j��/�_PK �1�\Ѓ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 �1�\T^]�p � xl/sharedStrings.xml � (� ��Mo�0�����e%v{p\�Zh�b�Nŀ1�Ї'�E�__%�zpzY��×x�]<[�=a �݊`:�v���p�7,�N��W��e}G�$u�b��OEA���]";,��}AC@Pt@��s!�v,�~t1�-Y6:�k��["��}������=~����c�Z���pN���;��.xkIS�͏72�0%W�:�����r�F5�(*����4��Z6*�.f�|+�J���bS��5Pb���"i�yB6��\�۲�����;L>�d[6���E�|�A��į�aВ�h�?g�_~�[p���o�BC�8�������p��1XMǗ�����VlN�~@���[�?Y��jE���PK- �1�\7Kl�� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\�.�~' ' U _rels/.relsPK- �1�\��$� 3 � xl/worksheets/sheet1.xmlPK- �1�\09w� P xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
Y xl/styles.xmlPK- �1�\T^]�p � � xl/sharedStrings.xmlPK � �