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": "97dde5f9-d20c-4995-a8d3-188f7c176f55", "customerID": "2fa69d5e-8cb1-4964-8e40-48c165b7eee1", "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": "0491cfc8-fcca-4108-926d-20f5de7b61e3", "privilegeGroupId": "9f30f8b4-9630-4bd0-b6f9-e63380fcf55c", "fieldName": "sample string 1", "permission": 2, "section": "sample string 3" }, { "$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>2fa69d5e-8cb1-4964-8e40-48c165b7eee1</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>0491cfc8-fcca-4108-926d-20f5de7b61e3</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>9f30f8b4-9630-4bd0-b6f9-e63380fcf55c</d2p1:PrivilegeGroupId> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>0491cfc8-fcca-4108-926d-20f5de7b61e3</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>9f30f8b4-9630-4bd0-b6f9-e63380fcf55c</d2p1:PrivilegeGroupId> <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>97dde5f9-d20c-4995-a8d3-188f7c176f55</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 0�Z��JG� 5 xl/workbook.xml � (� ����0��&�C����J����e������ě����o���Z��#�r[��{�3�x��ATa�j+�i_L���Xk���<K�(c�B+� ��B���Eh\��尠$E����bj�8�Yc�;��-!��*f�v1+�@bIk�@��ܚ�Ɣ�\��~����8D�1�R�{�l�]}PK 0�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 0�Z� 3X' ' _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="R8157b43a11e44629" /></Relationships>PK 0�ZZ�Һ� 6 xl/worksheets/sheet1.xml � (� ��K��0F� �����Ѵ���U]�k &� 8��d~~�c� Q�0�9�{-⧷��]�6�j�|<�檨�Cζ�"�S_�~5���sxk6:���M���Mf|u���+�n2��!PeY�r��s#[`Y��1��U��O����9i��'4ǡT��-H�vջ���,�6{� �{�w-������U�{�Q$ �l��w��j��ev>�_��]ևʺ&������^Sw�^����k]�*�������H@g�gcU�g�F�U�>����HЈRbA�c��>�|D}B �����>�|�|��QD��臓O��#��V!�Xg��&�3�BN��p�Y����[|�#N��bL�����o3���VWO�ۮz�zvK�7{�N�%�qp�ܑ��&М��&�خ 2'^���5Ή��`��S~|ˏW_�_b�MD��k-��rY�ywY4z����4�>���p��)e����L�PK 0�Z?�.� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q~�l�tK��Ğ|Db[���l]�H�B-*�A�V��==i���c�{�Fv!��kȒiiԠ�Ρ}��n4b���gqE���s/{��'ƒ��ָ CL]�-�v��4���3�ɎWK�!��$�<O��`�j���D�]G����緐%� �Y�pX�|)��Ĵ*ʴ$`�aj>\G�^��L%�J`�B�(+!*ӣ#�\���i^��-�E�7�l�2o������PK 0�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 0�Zm�0q � xl/sharedStrings.xml � (� ���N�0E%�>NR�4Ai*TB���e��p�Ikɏ�q����H���s�z��N={�*z�Қ)�hJ"0� i�Sr���K�gF0e L� �fM�� 58%;��$A�͐�L �u���t�;L��k��ҴH4��D��Ƈ�'$�|�a�S#dS�f��T����:�M��˟hޣ��1�r��n��_�ϗ8�w����a�!����Q�?l�g]�$�!�&B@�V��<WU�R��YY��M�6χ�QˊJ��|�M1�K���Y�o&