None.
Name | Description | Type | Additional information |
---|---|---|---|
RoleIds | Collection of integer |
None. |
|
AccRoleId | integer |
None. |
|
ServiceType | ServiceType |
None. |
{ "RoleIds": [ 1, 2 ], "AccRoleId": 1, "ServiceType": 1 }
<MixRoleOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models.Permission"> <AccRoleId>1</AccRoleId> <RoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </RoleIds> <ServiceType>scm</ServiceType> </MixRoleOptions>
Sample not available.
Name | Description | Type | Additional information |
---|---|---|---|
IsAdmin | boolean |
None. |
|
SetList | Collection of PermissionModuleSetJson |
None. |
|
AccSetList | Collection of AccPermissionModuleSet |
None. |
|
AccPermission | AccRoleModel |
None. |
{ "IsAdmin": true, "SetList": [ { "Module": 1, "CtrlAll": true, "PageSets": [ { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" }, { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" } ], "ShowMoney": true, "OwnShowMoneyProperty": true }, { "Module": 1, "CtrlAll": true, "PageSets": [ { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" }, { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" } ], "ShowMoney": true, "OwnShowMoneyProperty": true } ], "AccSetList": [ { "Module": 1, "PageSets": [ { "PageText": "sample string 1", "PageName": "sample string 2", "IsReport": true, "Order": 4, "PermissionSet": { "sample string 1": true, "sample string 3": true } }, { "PageText": "sample string 1", "PageName": "sample string 2", "IsReport": true, "Order": 4, "PermissionSet": { "sample string 1": true, "sample string 3": true } } ], "CtrlAll": true, "ShowMoney": true, "OwnShowMoneyProperty": true }, { "Module": 1, "PageSets": [ { "PageText": "sample string 1", "PageName": "sample string 2", "IsReport": true, "Order": 4, "PermissionSet": { "sample string 1": true, "sample string 3": true } }, { "PageText": "sample string 1", "PageName": "sample string 2", "IsReport": true, "Order": 4, "PermissionSet": { "sample string 1": true, "sample string 3": true } } ], "CtrlAll": true, "ShowMoney": true, "OwnShowMoneyProperty": true } ], "AccPermission": { "RoleName": "sample string 1", "RoleId": 2, "Permissions": [ "sample string 1", "sample string 2" ], "ScmPermission": [ { "Module": 1, "CtrlAll": true, "PageSets": [ { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" }, { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" } ], "ShowMoney": true, "OwnShowMoneyProperty": true }, { "Module": 1, "CtrlAll": true, "PageSets": [ { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" }, { "PageText": "sample string 1", "IsReport": true, "PermissionSet": "sample string 3" } ], "ShowMoney": true, "OwnShowMoneyProperty": true } ] } }
<MixPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models.Permission"> <AccPermission> <_x003C_Permissions_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </_x003C_Permissions_x003E_k__BackingField> <_x003C_RoleId_x003E_k__BackingField>2</_x003C_RoleId_x003E_k__BackingField> <_x003C_RoleName_x003E_k__BackingField>sample string 1</_x003C_RoleName_x003E_k__BackingField> <_x003C_ScmPermission_x003E_k__BackingField xmlns:d3p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi"> <d3p1:PermissionModuleSetJson> <d3p1:_x003C_CtrlAll_x003E_k__BackingField>true</d3p1:_x003C_CtrlAll_x003E_k__BackingField> <d3p1:_x003C_Module_x003E_k__BackingField>1</d3p1:_x003C_Module_x003E_k__BackingField> <d3p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField>true</d3p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField> <d3p1:_x003C_PageSets_x003E_k__BackingField> <d3p1:PermissionPageSetJson> <d3p1:_x003C_IsReport_x003E_k__BackingField>true</d3p1:_x003C_IsReport_x003E_k__BackingField> <d3p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d3p1:_x003C_PageText_x003E_k__BackingField> <d3p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d3p1:_x003C_PermissionSet_x003E_k__BackingField> </d3p1:PermissionPageSetJson> <d3p1:PermissionPageSetJson> <d3p1:_x003C_IsReport_x003E_k__BackingField>true</d3p1:_x003C_IsReport_x003E_k__BackingField> <d3p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d3p1:_x003C_PageText_x003E_k__BackingField> <d3p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d3p1:_x003C_PermissionSet_x003E_k__BackingField> </d3p1:PermissionPageSetJson> </d3p1:_x003C_PageSets_x003E_k__BackingField> <d3p1:_x003C_ShowMoney_x003E_k__BackingField>true</d3p1:_x003C_ShowMoney_x003E_k__BackingField> </d3p1:PermissionModuleSetJson> <d3p1:PermissionModuleSetJson> <d3p1:_x003C_CtrlAll_x003E_k__BackingField>true</d3p1:_x003C_CtrlAll_x003E_k__BackingField> <d3p1:_x003C_Module_x003E_k__BackingField>1</d3p1:_x003C_Module_x003E_k__BackingField> <d3p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField>true</d3p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField> <d3p1:_x003C_PageSets_x003E_k__BackingField> <d3p1:PermissionPageSetJson> <d3p1:_x003C_IsReport_x003E_k__BackingField>true</d3p1:_x003C_IsReport_x003E_k__BackingField> <d3p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d3p1:_x003C_PageText_x003E_k__BackingField> <d3p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d3p1:_x003C_PermissionSet_x003E_k__BackingField> </d3p1:PermissionPageSetJson> <d3p1:PermissionPageSetJson> <d3p1:_x003C_IsReport_x003E_k__BackingField>true</d3p1:_x003C_IsReport_x003E_k__BackingField> <d3p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d3p1:_x003C_PageText_x003E_k__BackingField> <d3p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d3p1:_x003C_PermissionSet_x003E_k__BackingField> </d3p1:PermissionPageSetJson> </d3p1:_x003C_PageSets_x003E_k__BackingField> <d3p1:_x003C_ShowMoney_x003E_k__BackingField>true</d3p1:_x003C_ShowMoney_x003E_k__BackingField> </d3p1:PermissionModuleSetJson> </_x003C_ScmPermission_x003E_k__BackingField> </AccPermission> <AccSetList xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi"> <d2p1:AccPermissionModuleSet> <d2p1:_x003C_CtrlAll_x003E_k__BackingField>true</d2p1:_x003C_CtrlAll_x003E_k__BackingField> <d2p1:_x003C_Module_x003E_k__BackingField>1</d2p1:_x003C_Module_x003E_k__BackingField> <d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField>true</d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField> <d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:AccPermissionPageSet> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_Order_x003E_k__BackingField>4</d2p1:_x003C_Order_x003E_k__BackingField> <d2p1:_x003C_PageName_x003E_k__BackingField>sample string 2</d2p1:_x003C_PageName_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 1</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 3</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> </d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:AccPermissionPageSet> <d2p1:AccPermissionPageSet> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_Order_x003E_k__BackingField>4</d2p1:_x003C_Order_x003E_k__BackingField> <d2p1:_x003C_PageName_x003E_k__BackingField>sample string 2</d2p1:_x003C_PageName_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 1</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 3</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> </d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:AccPermissionPageSet> </d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:_x003C_ShowMoney_x003E_k__BackingField>true</d2p1:_x003C_ShowMoney_x003E_k__BackingField> </d2p1:AccPermissionModuleSet> <d2p1:AccPermissionModuleSet> <d2p1:_x003C_CtrlAll_x003E_k__BackingField>true</d2p1:_x003C_CtrlAll_x003E_k__BackingField> <d2p1:_x003C_Module_x003E_k__BackingField>1</d2p1:_x003C_Module_x003E_k__BackingField> <d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField>true</d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField> <d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:AccPermissionPageSet> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_Order_x003E_k__BackingField>4</d2p1:_x003C_Order_x003E_k__BackingField> <d2p1:_x003C_PageName_x003E_k__BackingField>sample string 2</d2p1:_x003C_PageName_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 1</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 3</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> </d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:AccPermissionPageSet> <d2p1:AccPermissionPageSet> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_Order_x003E_k__BackingField>4</d2p1:_x003C_Order_x003E_k__BackingField> <d2p1:_x003C_PageName_x003E_k__BackingField>sample string 2</d2p1:_x003C_PageName_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 1</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> <d6p1:KeyValueOfstringboolean> <d6p1:Key>sample string 3</d6p1:Key> <d6p1:Value>true</d6p1:Value> </d6p1:KeyValueOfstringboolean> </d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:AccPermissionPageSet> </d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:_x003C_ShowMoney_x003E_k__BackingField>true</d2p1:_x003C_ShowMoney_x003E_k__BackingField> </d2p1:AccPermissionModuleSet> </AccSetList> <IsAdmin>true</IsAdmin> <SetList xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi"> <d2p1:PermissionModuleSetJson> <d2p1:_x003C_CtrlAll_x003E_k__BackingField>true</d2p1:_x003C_CtrlAll_x003E_k__BackingField> <d2p1:_x003C_Module_x003E_k__BackingField>1</d2p1:_x003C_Module_x003E_k__BackingField> <d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField>true</d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField> <d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:PermissionPageSetJson> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:PermissionPageSetJson> <d2p1:PermissionPageSetJson> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:PermissionPageSetJson> </d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:_x003C_ShowMoney_x003E_k__BackingField>true</d2p1:_x003C_ShowMoney_x003E_k__BackingField> </d2p1:PermissionModuleSetJson> <d2p1:PermissionModuleSetJson> <d2p1:_x003C_CtrlAll_x003E_k__BackingField>true</d2p1:_x003C_CtrlAll_x003E_k__BackingField> <d2p1:_x003C_Module_x003E_k__BackingField>1</d2p1:_x003C_Module_x003E_k__BackingField> <d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField>true</d2p1:_x003C_OwnShowMoneyProperty_x003E_k__BackingField> <d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:PermissionPageSetJson> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:PermissionPageSetJson> <d2p1:PermissionPageSetJson> <d2p1:_x003C_IsReport_x003E_k__BackingField>true</d2p1:_x003C_IsReport_x003E_k__BackingField> <d2p1:_x003C_PageText_x003E_k__BackingField>sample string 1</d2p1:_x003C_PageText_x003E_k__BackingField> <d2p1:_x003C_PermissionSet_x003E_k__BackingField>sample string 3</d2p1:_x003C_PermissionSet_x003E_k__BackingField> </d2p1:PermissionPageSetJson> </d2p1:_x003C_PageSets_x003E_k__BackingField> <d2p1:_x003C_ShowMoney_x003E_k__BackingField>true</d2p1:_x003C_ShowMoney_x003E_k__BackingField> </d2p1:PermissionModuleSetJson> </SetList> </MixPermission>