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": "e64ef6f9-0373-42f5-8113-61de2ff04725",
"customerID": "521ac9e8-10ce-4e7c-9bf5-4a474f13f25a",
"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": "81d92c72-b608-4508-93a4-c026f66e69a4",
"privilegeGroupId": "d7017d0e-d397-43a3-8fa6-fc3577698ffb",
"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>521ac9e8-10ce-4e7c-9bf5-4a474f13f25a</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>81d92c72-b608-4508-93a4-c026f66e69a4</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>d7017d0e-d397-43a3-8fa6-fc3577698ffb</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>81d92c72-b608-4508-93a4-c026f66e69a4</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>d7017d0e-d397-43a3-8fa6-fc3577698ffb</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>e64ef6f9-0373-42f5-8113-61de2ff04725</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 .3�\��� 5 xl/workbook.xml � (� ����0D�&�C��H")��x��}��m�-ik��-H�yۙ�};|��Zۓ��/]Eecɘo%j�';��;a���{1+�j���[� ,M��9 (k�T��+��B�%b�ÊҠ��B���p��Vw6 [C�7��~�(b@cE@��ܺ��)q���]��5��ȳ"�KKw��l�]PK .3�\���� � [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
.3�\��"�' ' _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="R6b6cce13b6854468" /></Relationships>PK .3�\�(��� 6 xl/worksheets/sheet1.xml � (� ��A�� ���ý*�ug�l��:=�g�������/�kV�d{Q�����1}z�ޅKՊ>����RTm��Y�_x�ӫ����\{��Ff���� U6�+�/N�7k��]��TQ�mɷ�<w��
CH~,��J5�I�����R'ɋ�~BwKuEۃ<�ZS}�zO�:�p�G���¿[~U�ސ����G��в����?�W�8�/q���C�M��uJqT��u��:�uś}_�J7���h�X�#� 6VyVZt�e�^e��䣛�&'���0f0z�G��>�~LBB�P�b��Ǔ�g�Q?��bL���'�OfG~�@�$��N'��z���1�0a����œ��SƦ�a
���x��ȷ�.�T��'��>���Pًb�^�w��4��D|u �$��Z[���ċK�%�s �$�.Ag"0����9N���l��%�U~���6��AV}��AV�#�c�.Bc~8\��\ګ2��PK .3�\ĝ�c� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞؉M��ݰa[z��Q;�]�gc���V���X��j4��'�|�lvo�D^Ї��ʂA�\?ڡ�S�w
춛=N2��`�%��bC&�eMiPg
��M��,cJ�@��r@Z1VS�3�I��CtZ�
�:�h�`���1�� �����R��P�
�oa�+���`��
��Z�� ï�w��t�`]�{.�N�UuS#=��ѧK�Ny9S+W�.Qq�J��i.j��/�_PK .3�\Ѓ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 .3�\l���o � xl/sharedStrings.xml � (� ��[o�0��J��8q���l�j�EU�<!$�s�kɗ�q*ʯǻ@�}�Ǚo�\t���aM��@ڻ-�d��v�-��x��YFQ�^�e� �]u-Q̒�іc��#�$�G�D��)��� ����UY.+�c��ilͲ���v/�4Bwm��~����k�S�7�M�E�$��O�Gi�*xiIs�ৈ�J'�ɍ��/����G���1�
����zU�M5,�u�=�a(�U��k��j�u.J���J�oI��f�����kH�� ��m����3EX���@�d4�[8��M����N���a�?�I�4���1�]���j:�̗���b^�?����E��V�o�~PK- .3�\��� 5 xl/workbook.xmlPK- .3�\���� � [Content_Types].xmlPK-
.3�\��"�' ' V _rels/.relsPK- .3�\�(��� 6 � xl/worksheets/sheet1.xmlPK- .3�\ĝ�c� P � xl/_rels/workbook.xml.relsPK- .3�\Ѓc'2 E
@ xl/styles.xmlPK- .3�\l���o � � xl/sharedStrings.xmlPK � v
application/vnd.ms-excel
Sample:
PK .3�\�*�ʷ 5 xl/workbook.xml � (� ����0��&�C���h!�p��Ճ��@[�����O ��mgv�ۑ���ӹ�|LoC��br�B��@8��k�7'�_̵���r�۠��̹`{��٠��J�����M��hK��97{h�"'c�;���!���l�X�`��D�dqnMAJ|�����U$X�,�ҋH��;L��w�PK .3�\���� � [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
.3�\u8P�' ' _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="Rb7b473a26d184c02" /></Relationships>PK .3�\�(��� 6 xl/worksheets/sheet1.xml � (� ��A�� ���ý*�ug�l��:=�g�������/�kV�d{Q�����1}z�ޅKՊ>����RTm��Y�_x�ӫ����\{��Ff���� U6�+�/N�7k��]��TQ�mɷ�<w��
CH~,��J5�I�����R'ɋ�~BwKuEۃ<�ZS}�zO�:�p�G���¿[~U�ސ����G��в����?�W�8�/q���C�M��uJqT��u��:�uś}_�J7���h�X�#� 6VyVZt�e�^e��䣛�&'���0f0z�G��>�~LBB�P�b��Ǔ�g�Q?��bL���'�OfG~�@�$��N'��z���1�0a����œ��SƦ�a
���x��ȷ�.�T��'��>���Pًb�^�w��4��D|u �$��Z[���ċK�%�s �$�.Ag"0����9N���l��%�U~���6��AV}��AV�#�c�.Bc~8\��\ګ2��PK .3�\(��'� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8��EM��m�\gGM��v���G�
XE�Tb�������4����M#y��Z`E �������<H�n�{U��s$y��lJ�#�Q[�T,��.w��J9
=��>�iU���%n��p��?Do̠q��yB�� �WN�"& zL-��"�Vd*����}Y6���IQs��л��t1�z}��\6U#�`�^ivW�v�)�K/���ZSs-ŪRLk}��j��/6_PK .3�\Ѓ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 .3�\l���o � xl/sharedStrings.xml � (� ��[o�0��J��8q���l�j�EU�<!$�s�kɗ�q*ʯǻ@�}�Ǚo�\t���aM��@ڻ-�d��v�-��x��YFQ�^�e� �]u-Q̒�іc��#�$�G�D��)��� ����UY.+�c��ilͲ���v/�4Bwm��~����k�S�7�M�E�$��O�Gi�*xiIs�ৈ�J'�ɍ��/����G���1�
����zU�M5,�u�=�a(�U��k��j�u.J���J�oI��f�����kH�� ��m����3EX���@�d4�[8��M����N���a�?�I�4���1�]���j:�̗���b^�?����E��V�o�~PK- .3�\�*�ʷ 5 xl/workbook.xmlPK- .3�\���� � [Content_Types].xmlPK-
.3�\u8P�' ' V _rels/.relsPK- .3�\�(��� 6 � xl/worksheets/sheet1.xmlPK- .3�\(��'� P � xl/_rels/workbook.xml.relsPK- .3�\Ѓc'2 E
@ xl/styles.xmlPK- .3�\l���o � � xl/sharedStrings.xmlPK � v