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
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:
{
"privilegeID": "d50d6e8e-7605-4e39-ac78-bc4019466a59",
"customerID": "e4145a5e-f288-48d8-a4cc-e8994fcce6b2",
"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": "4f4e5b9a-7e4c-457f-8b5a-6e8b1a2552cb",
"privilegeGroupId": "2ef2d609-be4c-47d1-8f1c-4064cb72304e",
"fieldName": "sample string 1",
"permission": 2,
"section": "sample string 3",
"restrictionUISetting": {
"$id": "6"
},
"restriction": "sample string 5",
"allowedPermissions": [
0,
0
]
},
{
"$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>e4145a5e-f288-48d8-a4cc-e8994fcce6b2</CustomerID>
<Fields xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Common">
<d2p1:FieldPermission>
<d2p1:AllowedPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
</d2p1:AllowedPermissions>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:ID>4f4e5b9a-7e4c-457f-8b5a-6e8b1a2552cb</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>2ef2d609-be4c-47d1-8f1c-4064cb72304e</d2p1:PrivilegeGroupId>
<d2p1:Restriction>sample string 5</d2p1:Restriction>
<d2p1:RestrictionUISetting />
<d2p1:Section>sample string 3</d2p1:Section>
</d2p1:FieldPermission>
<d2p1:FieldPermission>
<d2p1:AllowedPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
</d2p1:AllowedPermissions>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:ID>4f4e5b9a-7e4c-457f-8b5a-6e8b1a2552cb</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>2ef2d609-be4c-47d1-8f1c-4064cb72304e</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>d50d6e8e-7605-4e39-ac78-bc4019466a59</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 L��\�>j`� 5 xl/workbook.xml � (� ����0��&�C��`R8q�����.������Ǘ�@�������G^�^�c��P����B��xr��]0�&�����9�6h;gY����Qi�J��}@�Q!&3�(���x ����Ǹ�����&ak�����/E,lh (Y��lhNI��4܊��P�HE%K��wg���PK L��\���� � [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
L��\�J ' ' _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="R055096d10bce4e2d" /></Relationships>PK L��\ -� 5 xl/worksheets/sheet1.xml � (� ��K��0F�
�����Ѵ���U]L�L@pd;����ǐ������\��k?�7G�"��U� �C��6WE�p������������[�� ��=m���l2㫓l�^�t�Y���*�:�[���� C�-��uG��>0T��Z�eV���RMV� ���U���ӲL�3��1�4���Z^ͧ��%���[��H ��`���j��ev>�_��]ևʺ&���������Z�&{���ua��3��0�En#?����6��2�x����>���Pp
�X'�N&Q���BD#&��OG�N�`>dc�(
"��p��ɧ��B��*��x��Qg�α;�3B]�E�c��>��g>�
* Ʈ�w�`b?�mf�4����~�U�V�ni�{�Fo܅��0.�;_������5A��˚�sb�&�9�_l"}ʏo�����kB,�h�M�E�_� �>�� �F�?��������P���;����U����_PK L��\Yۃ�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞؉�&��ݰa���=N�&�e�О�G�
XTWb�������4����ޞ�����5��FZ5���S�-l7��"��0N.��bBc��� G\D(�C�:��EĔ��:!�b@Z1��>g�-�.�C�ZO��<-h�`�f�1���A�c?�@�CY$*������AU6B ��B��e���u�3�(�V}_��q]?�Uf�>�t��)/gj��=G�u�*��U�����PK L��\Ѓ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 L��\<<�o � xl/sharedStrings.xml � (� ��[o�0��J�w�M�eSU��(���p���| ���z��!�x����Eg���dO��[�*/Y'��n�f�nx�2��)a�Ú=�Xv5D1KRGkv�qzS$��r?�%�����°/h
�@��X�e[X�ˤ�]Lc/X6;�}��%�F�q��}�O�`��o�"�CqL�F������6�y�(,^/-i�?�9b+� Kr�a�Y��<]@��d4���T-:�˶lx���y��GY�U_��h��uU7�߭��ם긨������I��q�Ԑ��A�)$۲j���a�72&�)��C�2��)~������{���+������1�]���j:������b{Z�?��n����'�^]�H�:�PK- L��\�>j`� 5 xl/workbook.xmlPK- L��\���� � � [Content_Types].xmlPK-
L��\�J ' ' U _rels/.relsPK- L��\ -� 5 � xl/worksheets/sheet1.xmlPK- L��\Yۃ�� P � xl/_rels/workbook.xml.relsPK- L��\Ѓc'2 E
? xl/styles.xmlPK- L��\<<�o � � xl/sharedStrings.xmlPK � u
application/vnd.ms-excel
Sample:
PK L��\7��p� 5 xl/workbook.xml � (� ����0D�&�C����N\�z��VhK��|o�vfg��������
[����`�5*p'3�;a��}1#�l�6�[��,���Y�K�]'GGW�?,7Z��u�^
+J�Դ:�s����-2[��$l
��_`���%��%�skKSb�{_�\`.r���9�6��l�]}PK L��\���� � [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
L��\�nݔ' ' _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="Rbe9603d11a2b4063" /></Relationships>PK L��\ -� 5 xl/worksheets/sheet1.xml � (� ��K��0F�
�����Ѵ���U]L�L@pd;����ǐ������\��k?�7G�"��U� �C��6WE�p������������[�� ��=m���l2㫓l�^�t�Y���*�:�[���� C�-��uG��>0T��Z�eV���RMV� ���U���ӲL�3��1�4���Z^ͧ��%���[��H ��`���j��ev>�_��]ևʺ&���������Z�&{���ua��3��0�En#?����6��2�x����>���Pp
�X'�N&Q���BD#&��OG�N�`>dc�(
"��p��ɧ��B��*��x��Qg�α;�3B]�E�c��>��g>�
* Ʈ�w�`b?�mf�4����~�U�V�ni�{�Fo܅��0.�;_������5A��˚�sb�&�9�_l"}ʏo�����kB,�h�M�E�_� �>�� �F�?��������P���;����U����_PK L��\�b��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�byO���U�nذ-���'Q;�]�gc���V� �X��j4��'�|�lvo�H^Ї�ٖYN Z��`����y�t���q��&B?́�Z��8��� B�f��c�� ��wlu�Y��
�K�e��e���1��G������:
=b�� ���ҟR`�Pd�Jɓn�)j.
#`��
(awS�2b����2��@-��MY�U���9�t�Ӳ�P|uZ5h�k��j��/�_PK L��\Ѓ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 L��\<<�o � xl/sharedStrings.xml � (� ��[o�0��J�w�M�eSU��(���p���| ���z��!�x����Eg���dO��[�*/Y'��n�f�nx�2��)a�Ú=�Xv5D1KRGkv�qzS$��r?�%�����°/h
�@��X�e[X�ˤ�]Lc/X6;�}��%�F�q��}�O�`��o�"�CqL�F������6�y�(,^/-i�?�9b+� Kr�a�Y��<]@��d4���T-:�˶lx���y��GY�U_��h��uU7�߭��ם긨������I��q�Ԑ��A�)$۲j���a�72&�)��C�2��)~������{���+������1�]���j:������b{Z�?��n����'�^]�H�:�PK- L��\7��p� 5 xl/workbook.xmlPK- L��\���� � [Content_Types].xmlPK-
L��\�nݔ' ' V _rels/.relsPK- L��\ -� 5 � xl/worksheets/sheet1.xmlPK- L��\�b��� P � xl/_rels/workbook.xml.relsPK- L��\Ѓc'2 E
A xl/styles.xmlPK- L��\<<�o � � xl/sharedStrings.xmlPK � w