POST UserProfile/GetAllUserSecurityPermissions
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of UserSecurityPermissionName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Name | string |
None. |
|
PrimaryRole | string |
None. |
|
Roles | Collection of Role |
None. |
|
SalesEntities | Collection of string |
None. |
|
Permissions | Collection of SecurityPermission |
None. |
|
UserType | string |
None. |
|
AllRoles | string |
None. |
|
AllSalesEntities | string |
None. |
|
AllPermissions | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfUserSecurityPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <UserSecurityPermission> <Name>sample string 2</Name> <Permissions> <SecurityPermission> <Brand i:nil="true" /> <BusinessUnit i:nil="true" /> <CortevaBrand z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <BrandId>1</BrandId> <BrandName>sample string 4</BrandName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CompanyId>2</CompanyId> <CountryCode>sample string 3</CountryCode> <IsDefault>true</IsDefault> </CortevaBrand> </SecurityPermission> <SecurityPermission> <Brand i:nil="true" /> <BusinessUnit i:nil="true" /> <CortevaBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </SecurityPermission> </Permissions> <PrimaryRole>sample string 3</PrimaryRole> <Roles> <Role z:Id="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ChangeTracker z:Ref="i2" /> <FromFIS>true</FromFIS> <IsPrimary>true</IsPrimary> <Name>sample string 2</Name> <RoleId>1</RoleId> </Role> <Role z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </Roles> <SalesEntities xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </SalesEntities> <UserType>sample string 4</UserType> <Username>sample string 1</Username> </UserSecurityPermission> <UserSecurityPermission> <Name>sample string 2</Name> <Permissions> <SecurityPermission> <Brand i:nil="true" /> <BusinessUnit i:nil="true" /> <CortevaBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </SecurityPermission> <SecurityPermission> <Brand i:nil="true" /> <BusinessUnit i:nil="true" /> <CortevaBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </SecurityPermission> </Permissions> <PrimaryRole>sample string 3</PrimaryRole> <Roles> <Role z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <Role z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </Roles> <SalesEntities xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </SalesEntities> <UserType>sample string 4</UserType> <Username>sample string 1</Username> </UserSecurityPermission> </ArrayOfUserSecurityPermission>