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 AccountPrivilegesName | 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": "b5f9831d-e102-4a2b-ae59-e99cda944db5", "customerID": "e55c92a7-7a4c-4fad-956b-209f09ad1f85", "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": "4314d6b7-0c8d-4dda-8d82-cf6741c0d965", "privilegeGroupId": "808e20ca-f19b-44b2-890e-8f9afb33e0f1", "fieldName": "sample string 1", "permission": 2, "section": "sample string 3" }, { "$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>e55c92a7-7a4c-4fad-956b-209f09ad1f85</CustomerID> <Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>4314d6b7-0c8d-4dda-8d82-cf6741c0d965</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>808e20ca-f19b-44b2-890e-8f9afb33e0f1</d3p1:PrivilegeGroupId> <d3p1:Section>sample string 3</d3p1:Section> </d3p1:FieldPermission> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>4314d6b7-0c8d-4dda-8d82-cf6741c0d965</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>808e20ca-f19b-44b2-890e-8f9afb33e0f1</d3p1:PrivilegeGroupId> <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>b5f9831d-e102-4a2b-ae59-e99cda944db5</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>e55c92a7-7a4c-4fad-956b-209f09ad1f85</CustomerID> <Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>4314d6b7-0c8d-4dda-8d82-cf6741c0d965</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>808e20ca-f19b-44b2-890e-8f9afb33e0f1</d3p1:PrivilegeGroupId> <d3p1:Section>sample string 3</d3p1:Section> </d3p1:FieldPermission> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>4314d6b7-0c8d-4dda-8d82-cf6741c0d965</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>808e20ca-f19b-44b2-890e-8f9afb33e0f1</d3p1:PrivilegeGroupId> <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>b5f9831d-e102-4a2b-ae59-e99cda944db5</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 B/�Z*8�/� 5 xl/workbook.xml � (� ����0��J}�(�@A@0�t��݀)�GI*�� ��u�ϟ����F����)������Ei�~�+#�yi^L�=o�V�[�t� 38��JځkK7�?,� BgD'� %�KZ�O�K�'�ٮ�{��$l��T��U KZ�JV�ޕ4������薦Mt˂8 z�X����PK B/�Z���� � [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 B/�Z�sg�' ' _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="Rf24b8752d8704e03" /></Relationships>PK B/�ZMs� 2 xl/worksheets/sheet1.xml � (� ��O��0�� �{!��������C{��Y!Nu?~���� ��y�� `�����ԦQ] PA �B�M�O��V_b�%�_M-� ޙ�NAm�qE��e��Pe��*��ܺK��TU5�ܨ����FBiyȭ[���рk���e�Z��p��Z�͛dIٸ���ZV)xF�A�%����a�I�*��_�(S 6����O���O�K]��f_[�$68�:��7h��u h��|iJ[���!%�b�0t�����s�E�E�:u|�E�)c�0(`�c��>�|DC� ���x�O֧�O'?�!�c�(e��>}6���b�q{�V(~��Q�.xH���@A��/F_��� BcC�)�߾躉Îor�g�V�@Ӯz?zvC3<'n�{��L�s��W�@s�O�9�� 2'^|�Ή�O�9�� >��>�Ƿ��s�"�Oċ�>�Z�� �h��d���d���;2ߦYxrO> ���>��^�;�2�d�<}xj���z���zxO�?��PK B/�Z·�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q��"��-��3�#;�M)g�G�jQ� Rݰ���I3�����4�Wt~���,I����L��9�� v��G����I\1�¼��K�����Ď�n!�����'�#]�iAݒ�Lr����Uj��l�yB� Ӌu'���p=�~J��B�D*�}������eٲ�J9� �aj>\G�^��BF�9o�J�ʸ��2Z8�^���^:-��R ����-㜩�M�����PK B/�ZЃ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 B/�Z�%Ct � xl/sharedStrings.xml � (� ���n�0EE��#Rb���M�ua��*(�19� �r���חv�,�l�%���������5���-Y) ���^i�_���;�`Ep �w�d�H,��;��%��%;�8~�s��@�|��3�s��b�&���2��ˤ�\Lc/X69�}��[!��}�M�/��?}���w����&��b8'��O���.x�����O�2�0'w�:뿑� �f�F5ǻfh��X���q���ضRA[�j��5�4���_A-y=��ms��U�E�g;L9�[V����"Z��Ơ�)h��0h)>k����۟z ���+4$с�I��1�]�?���t<���>�O��d�?��^o�+� ^M2�<���<�l�PK- B/�Z*8�/� 5 xl/workbook.xmlPK- B/�Z���� � [Content_Types].xmlPK- B/�Z�sg�' ' V _rels/.relsPK- B/�ZMs� 2 � xl/worksheets/sheet1.xmlPK- B/�Z·�� P xl/_rels/workbook.xml.relsPK- B/�ZЃc'2 E ] xl/styles.xmlPK- B/�Z�%Ct � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK B/�Z���Ͷ 5 xl/workbook.xml � (� ����0��&�C��H���x��}m��H����[J ��mgv��i&�_k_�Gj��!FW3����:4i'����Of�T{��MdeQT��QY�]h����"�Q�J�2���i�fw�S�2k��$l ��T�a�EVĀƖ����\EK���Z��vQ^��"ʓ�$���a���PK B/�Z���� � [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 B/�Zqؑ' ' _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="Rffe8ad10fbfc4edd" /></Relationships>PK B/�ZMs� 2 xl/worksheets/sheet1.xml � (� ��O��0�� �{!��������C{��Y!Nu?~���� ��y�� `�����ԦQ] PA �B�M�O��V_b�%�_M-� ޙ�NAm�qE��e��Pe��*��ܺK��TU5�ܨ����FBiyȭ[���рk���e�Z��p��Z�͛dIٸ���ZV)xF�A�%����a�I�*��_�(S 6����O���O�K]��f_[�$68�:��7h��u h��|iJ[���!%�b�0t�����s�E�E�:u|�E�)c�0(`�c��>�|DC� ���x�O֧�O'?�!�c�(e��>}6���b�q{�V(~��Q�.xH���@A��/F_��� BcC�)�߾躉Îor�g�V�@Ӯz?zvC3<'n�{��L�s��W�@s�O�9�� 2'^|�Ή�O�9�� >��>�Ƿ��s�"�Oċ�>�Z�� �h��d���d���;2ߦYxrO> ���>��^�;�2�d�<}xj���z���zxO�?��PK B/�Zw=�\� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q�q+�n�R.0�'�ؖmh9[=R�P�Jm����h~OO��|�Xoߦ��ɇ��Y���z0] ��>H�n�{1���.��bB }���z�0d֑I��� cJ}��#vċ<��p�d����m����:Md�`�j�1�D�}G���R�װ��Nװ�P�Z ]H]�Z�����B��~��R/�ج��R ��L���K���s�yy�&V2,���UyU�7��PK B/�ZЃ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 B/�Z�%Ct � xl/sharedStrings.xml � (� ���n�0EE��#Rb���M�ua��*(�19� �r���חv�,�l�%���������5���-Y) ���^i�_���;�`Ep �w�d�H,��;��%��%;�8~�s��@�|��3�s��b�&���2��ˤ�\Lc/X69�}��[!��}�M�/��?}���w����&��b8'��O���.x�����O�2�0'w�:뿑� �f�F5ǻfh��X���q���ضRA[�j��5�4���_A-y=��ms��U�E�g;L9�[V����"Z��Ơ�)h��0h)>k����۟z ���+4$с�I��1�]�?���t<���>�O��d�?��^o�+� ^M2�<���<�l�PK- B/�Z���Ͷ 5 xl/workbook.xmlPK- B/�Z���� � � [Content_Types].xmlPK- B/�Zqؑ' ' U _rels/.relsPK- B/�ZMs� 2 � xl/worksheets/sheet1.xmlPK- B/�Zw=�\� P xl/_rels/workbook.xml.relsPK- B/�ZЃc'2 E [ xl/styles.xmlPK- B/�Z�%Ct � � xl/sharedStrings.xmlPK � �