GET api/user/privileges/{groupName}/find
Get account privileges group by name
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupName |
Account privileges group name |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Matching Account privileges model
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:
{ "privilegeID": "8315629f-5128-44ad-a6d1-2cdf77780bbe", "customerID": "698339ae-da55-47e9-be61-3449fc765ab7", "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": "f3a64a1b-b1b7-4c45-a41d-075a87b340b9", "privilegeGroupId": "d99d2c29-5129-47b1-8fb2-b2cf25863b62", "fieldName": "sample string 1", "permission": 2, "section": "sample string 3", "restrictionUISetting": { "$id": "6" }, "restriction": "sample string 5" }, { "$ref": "5" } ], "accountsApplied": 1 }
application/xml, text/xml
Sample:
<AccountPrivileges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts"> <AccountsApplied>1</AccountsApplied> <CustomerID>698339ae-da55-47e9-be61-3449fc765ab7</CustomerID> <Fields xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>f3a64a1b-b1b7-4c45-a41d-075a87b340b9</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>d99d2c29-5129-47b1-8fb2-b2cf25863b62</d2p1:PrivilegeGroupId> <d2p1:Restriction>sample string 5</d2p1:Restriction> <d2p1:RestrictionUISetting /> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>f3a64a1b-b1b7-4c45-a41d-075a87b340b9</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>d99d2c29-5129-47b1-8fb2-b2cf25863b62</d2p1:PrivilegeGroupId> <d2p1:Restriction>sample string 5</d2p1:Restriction> <d2p1:RestrictionUISetting /> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> </Fields> <GroupName>sample string 1</GroupName> <GroupPrivileges> <ControllerPermission> <Actions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 1</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 3</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> </Actions> <AllowDefault>true</AllowDefault> <Name>sample string 1</Name> <Verbs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 1</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 3</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> </Verbs> </ControllerPermission> <ControllerPermission> <Actions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 1</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 3</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> </Actions> <AllowDefault>true</AllowDefault> <Name>sample string 1</Name> <Verbs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 1</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> <d4p1:KeyValueOfstringboolean> <d4p1:Key>sample string 3</d4p1:Key> <d4p1:Value>true</d4p1:Value> </d4p1:KeyValueOfstringboolean> </Verbs> </ControllerPermission> </GroupPrivileges> <PrivilegeID>8315629f-5128-44ad-a6d1-2cdf77780bbe</PrivilegeID> <RouteScope xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RouteScope> </AccountPrivileges>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK .�D[�mG� 5 xl/workbook.xml � (� ����0��&�C���J"N\�z4П�5��$���~;�d��3���/\E�l���=*�'cQǝ0NA�ҽ�Brl+ԁeI�3�#i���t�����!t�Gj\Q ����@H97{J��"��՝M���M�l�XѠ�� �dq�]ESJ\!��H�'�5�[��K{F��wXɶ��PK .�D[���� � [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 .�D[,�3C' ' _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="Rf24448ff03d54583" /></Relationships>PK .�D[�d*�� 6 xl/worksheets/sheet1.xml � (� ��K��0F� ��6D�h�L��.�k &� 8��d~~�c��������\��k�<��G�"�nd��C���e�Rp6<e�U�7]a<�wz�RPs��.j��ڗ'�ٽJ�67�QYUM!��8��3��Jsc_����X�j�y9�=��ڼ�@����ޟ�S�J�3��1�,��F\��������Q� l�����?�W�*?�/y�.�Cml���)�Q�^��^���צ4u H�C�b��, �U�����q}T}<���'�s� qH��>�|2���<�"�(���O'��~����QD��䇳O��c��V���&��:g>��29���}|��g|�#NhD#�1e��SF��M�%J^=5l�����.�pQ�쵽q�&��w'�K�%��%�غY/.A���%�%�w 6��>�ǟ����U~��V�]"^�w �j��d���d�����>��������5\��#��PK .�D[C� P xl/_rels/workbook.xml.rels � (� ��An� E��f_u�*$�n�Ms�ۊ Hۜ���W(j�֑��&+4��i������m���8:+�Z���N��հ�n�8��o�a��'6JR��F=�b�<��1.�*�2��+}T=Ғ���%���p���3f����iF�� �W�q@L@*�$�D�~��T O��=W���J5miD�B �fj1�'��^�z!��֕�jk���Me�{N!oz鴌j�-����Ԫ5�̉^���PK .�D[Ѓ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 .�D[�%�u � xl/sharedStrings.xml � (� ���n�0EE��e�YA�&A�80bwU(M�m|�*H����69�t�93�wp��z6:y����،$`�������6$�����YX�@�\�bH��9�0|ISG0��F�w�������K<���lV��+K�F�lN�Ѫ�#,�QB�]��^=) ���KCߥ���18���y7�����K��G7؈��*���Z�7��a� �7yVV�vO�l�Т��Jft.侮�f��]Um��-*yYҢ����h^�^�U�w�t�4Ĝ|�-ɦx�[:�A�4�;��`� ï��ͫZq����I�ȶ`� ���1���O�5x��t2??���cs6��^oVK��N�"�<���4�l�PK- .�D[�mG� 5 xl/workbook.xmlPK- .�D[���� � � [Content_Types].xmlPK- .�D[,�3C' ' U _rels/.relsPK- .�D[�d*�� 6 � xl/worksheets/sheet1.xmlPK- .�D[C� P � xl/_rels/workbook.xml.relsPK- .�D[Ѓc'2 E A xl/styles.xmlPK- .�D[�%�u � � xl/sharedStrings.xmlPK � }
application/vnd.ms-excel
Sample:
PK .�D[�.��� 5 xl/workbook.xml � (� ����0��&�C�pA�R8q���� �4П�5��B $���~;b4�ӳ���]��l�������]k��0I�Ӷ����oE:�1I.�h� �����/�X�:��wDA J�Լ��s����G9k��d���7%"l���iTT� r�[S�3��i�c�!]��|I�%5��L����PK .�D[���� � [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 .�D[E.�y' ' _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="R2be403fd949649c9" /></Relationships>PK .�D[�d*�� 6 xl/worksheets/sheet1.xml � (� ��K��0F� ��6D�h�L��.�k &� 8��d~~�c��������\��k�<��G�"�nd��C���e�Rp6<e�U�7]a<�wz�RPs��.j��ڗ'�ٽJ�67�QYUM!��8��3��Jsc_����X�j�y9�=��ڼ�@����ޟ�S�J�3��1�,��F\��������Q� l�����?�W�*?�/y�.�Cml���)�Q�^��^���צ4u H�C�b��, �U�����q}T}<���'�s� qH��>�|2���<�"�(���O'��~����QD��䇳O��c��V���&��:g>��29���}|��g|�#NhD#�1e��SF��M�%J^=5l�����.�pQ�쵽q�&��w'�K�%��%�غY/.A���%�%�w 6��>�ǟ����U~��V�]"^�w �j��d���d�����>��������5\��#��PK .�D[�tՅ� P xl/_rels/workbook.xml.rels � (� ��KN�0��b͞؉CZ��ݰa[z���P;�]�gc���V� �X��j4�O�4�����{���5� ���m[�)6wK�n�;*����S`iņ����AwU���:��)�-��>����~Πk&۟'��蚦�xt�4��?����c�Hl�|�X�O)�KȳD%�dj�))���W�,!41~3��¯�w>��ZdQT4J��Me:�a��O��;��35�P.r�F.J!�E�_���PK .�D[Ѓ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 .�D[�%�u � xl/sharedStrings.xml � (� ���n�0EE��e�YA�&A�80bwU(M�m|�*H����69�t�93�wp��z6:y����،$`�������6$�����YX�@�\�bH��9�0|ISG0��F�w�������K<���lV��+K�F�lN�Ѫ�#,�QB�]��^=) ���KCߥ���18���y7�����K��G7؈��*���Z�7��a� �7yVV�vO�l�Т��Jft.侮�f��]Um��-*yYҢ����h^�^�U�w�t�4Ĝ|�-ɦx�[:�A�4�;��`� ï��ͫZq����I�ȶ`� ���1���O�5x��t2??���cs6��^oVK��N�"�<���4�l�PK- .�D[�.��� 5 xl/workbook.xmlPK- .�D[���� � � [Content_Types].xmlPK- .�D[E.�y' ' U _rels/.relsPK- .�D[�d*�� 6 � xl/worksheets/sheet1.xmlPK- .�D[�tՅ� P � xl/_rels/workbook.xml.relsPK- .�D[Ѓc'2 E ? xl/styles.xmlPK- .�D[�%�u � � xl/sharedStrings.xmlPK � {