profileDetailLevel
If profileDetailLevel
is set, the response can contain the following information:
EXCLUDE
: No profile information is returned.
LOW
:name
extId
state
MEDIUM
: All elements from theLOW
detail level plus:userExtId
remarks
unit
(ifunitDetailLevel
is not set to EXCLUDE)name
extId
state
roles
(ifroleDetailLevel
is not set to EXCLUDE)name
extId
applicationName
applicationExtId
authorizations
(ifauthorizationDetailLevel
is not set to EXCLUDE)role
name
extId
applicationName
applicationExtId
directAssignment
enterpriseRoles
(ifenterpriseRoleDetailLevel
is not set to EXCLUDE)name
extId
properties
(ifpropertyDetailLevel
is not set to EXCLUDE)name
value
HIGH
: All elements from theMEDIUM
detail level plus:ctlCreUid
ctlCreDat
ctlModUid
ctlModDat
ctlTcn
The following detail levels can be useful in combination with profileDetailLevel
:
unitDetailLevel
roleDetailLevel
authorizationDetailLevel
enterpriseRoleDetailLevel
propertyDetailLevel
defaultDetailLevel
Example of a request and response with profileDetailLevel
set to MEDIUM
:
Request:
<v1:queryProfiles>
<query>
<clientName>Default</clientName>
<detailLevels>
<profileDetailLevel>MEDIUM</profileDetailLevel>
</detailLevels>
<profile>
<extId>100</extId>
</profile>
</query>
</v1:queryProfiles>
Response:
<ns2:queryProfilesResponse
xmlns:ns2="http://adnovum.ch/nevisidm/ws/services/v1">
<return defaultProfile="true">
<name>BootstrapProfile</name>
<extId>100</extId>
<userExtId>100</userExtId>
<state>ACTIVE</state>
<remarks>Initial profile for bootstrapping</remarks>
<unit>
<name>Default</name>
<extId>100</extId>
<state>ACTIVE</state>
</unit>
<roles>
<name>SelfAdmin</name>
<extId>1</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</roles>
<authorizations>
<role>
<name>admin</name>
<extId>300</extId>
<applicationName>nevisMeta</applicationName>
<applicationExtId>300</applicationExtId>
</role>
<directAssignment>true</directAssignment>
</authorizations>
<authorizations>
<role>
<name>user</name>
<extId>303</extId>
<applicationName>nevisAdapt</applicationName>
<applicationExtId>301</applicationExtId>
</role>
<directAssignment>true</directAssignment>
</authorizations>
<properties>
<name>BENUID</name>
<value>33333</value>
</properties>
<enterpriseRoles>
<name>profilesErolesRestTest3</name>
<extId>24000005</extId>
</enterpriseRoles>
</return>
</ns2:queryProfilesResponse>