authorizationDetailLevel
If authorizationDetailLevel
is set, the response can contain the following information:
EXCLUDE
: No authorization information is returned.LOW
:role
name
extId
applicationName
applicationExtId
directAssignment
MEDIUM
: All elements from theLOW
detail level plus:authorizedUnits
name
extId
displayName
entries
lang
value
displayAbbreviation
entries
lang
value
hname
client
name
authorizedApplications
name
displayName
entries
lang
value
authorizedClients
name
extId
displayName
entries
lang
value
unitGlobal
appGlobal
clientGlobal
eRoleGlobal
extID
HIGH
: All elements from theMEDIUM
detail level plus:ctlCreUid
ctlCreDat
ctlModUid
ctlModDat
ctlTcn
Example of a request and response with authorizationDetailLevel
set to MEDIUM
:
Request:
<v1:queryProfiles>
<query>
<clientExtId>100</clientExtId>
<detailLevels>
<authorizationDetailLevel>MEDIUM</authorizationDetailLevel>
<defaultDetailLevel>HIGH</defaultDetailLevel>
</detailLevels>
<profile>
<extId>99990200</extId>
</profile>
</query>
</v1:queryProfiles>
Response:
<ns2:queryProfilesResponse xmlns:ns2="http://adnovum.ch/nevisidm/ws/services/v1">
<return defaultProfile="true">
<ctlCreUid>Default/bootstrap</ctlCreUid>
<ctlCreDat>2024-07-08T11:15:43.000+02:00</ctlCreDat>
<ctlModUid>Default/bootstrap</ctlModUid>
<ctlModDat>2024-07-08T11:15:43.000+02:00</ctlModDat>
<ctlTcn>2</ctlTcn>
<name>Profile-userForDetailLevelTest</name>
<extId>99990200</extId>
<userExtId>99990200</userExtId>
<state>ACTIVE</state>
<remarks>Automatically generated profile for userForDetailLevelTest</remarks>
<unit>
<ctlCreUid>Default/bootstrap</ctlCreUid>
<ctlCreDat>2024-07-08T11:15:36.000+02:00</ctlCreDat>
<ctlModUid>Default/bootstrap</ctlModUid>
<ctlModDat>2024-07-08T11:15:36.000+02:00</ctlModDat>
<ctlTcn>0</ctlTcn>
<name>Default</name>
<extId>100</extId>
<state>ACTIVE</state>
<displayName>
<entries>
<lang>de</lang>
<value>Default-Abteilung</value>
</entries>
<entries>
<lang>fr</lang>
<value>Département Default</value>
</entries>
<entries>
<lang>it</lang>
<value>Sezione Default</value>
</entries>
<entries>
<lang>en</lang>
<value>Default unit</value>
</entries>
</displayName>
<displayAbbreviation>
<entries>
<lang>de</lang>
<value>default</value>
</entries>
<entries>
<lang>fr</lang>
<value>default</value>
</entries>
<entries>
<lang>it</lang>
<value>default</value>
</entries>
<entries>
<lang>en</lang>
<value>default</value>
</entries>
</displayAbbreviation>
<location>Here</location>
<description>Default unit</description>
<hname>/100</hname>
<localizedHname>
<entries>
<lang>de</lang>
<value>Default-Abteilung</value>
</entries>
<entries>
<lang>fr</lang>
<value>Département Default</value>
</entries>
<entries>
<lang>it</lang>
<value>Sezione Default</value>
</entries>
<entries>
<lang>en</lang>
<value>Default unit</value>
</entries>
</localizedHname>
<profileless>false</profileless>
</unit>
<roles>
<name>AppOwner</name>
<extId>33</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</roles>
<roles>
<name>ERoleMemberTestApp1Role1</name>
<extId>ERMR001</extId>
<applicationName>ERoleMemberTestApp1</applicationName>
<applicationExtId>ERMA001</applicationExtId>
</roles>
<roles>
<name>UserAdmin</name>
<extId>2</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</roles>
<roles>
<name>testPropRole2</name>
<extId>99990002</extId>
<applicationName>testAppRoProp1</applicationName>
<applicationExtId>99990001</applicationExtId>
<properties>
<name>role_global_test_string</name>
<value>something</value>
</properties>
<properties>
<name>role_global_test_enum</name>
<value>ENUM_1</value>
</properties>
<properties>
<name>role_global_test</name>
<value>unique</value>
</properties>
<properties>
<name>role_global_test_ro</name>
<value>something</value>
</properties>
<properties>
<name>role_global_test_off</name>
<value>something</value>
</properties>
<properties>
<name>role_global_encrypted_string</name>
<value>123</value>
</properties>
</roles>
<roles>
<name>ERoleMemberTestApp1Role3</name>
<extId>ERMR003</extId>
<applicationName>ERoleMemberTestApp1</applicationName>
<applicationExtId>ERMA001</applicationExtId>
</roles>
<roles>
<name>SoapTechAccess</name>
<extId>10</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</roles>
<authorizations>
<role>
<name>AppOwner</name>
<extId>33</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</role>
<authorizedUnits>
<name>Default</name>
<extId>100</extId>
<displayName>
<entries>
<lang>de</lang>
<value>Default-Abteilung</value>
</entries>
<entries>
<lang>en</lang>
<value>Default unit</value>
</entries>
<entries>
<lang>fr</lang>
<value>Département Default</value>
</entries>
<entries>
<lang>it</lang>
<value>Sezione Default</value>
</entries>
</displayName>
<displayAbbreviation>
<entries>
<lang>de</lang>
<value>default</value>
</entries>
<entries>
<lang>en</lang>
<value>default</value>
</entries>
<entries>
<lang>fr</lang>
<value>default</value>
</entries>
<entries>
<lang>it</lang>
<value>default</value>
</entries>
</displayAbbreviation>
<hname>Default-Abteilung</hname>
<client>
<name>Default</name>
</client>
</authorizedUnits>
<authorizedApplications>
<name>User Data Test Application</name>
<displayName>
<entries>
<lang>de</lang>
<value>benutzerDataTestApplication Deutscher Name</value>
</entries>
<entries>
<lang>en</lang>
<value>english display name</value>
</entries>
<entries>
<lang>fr</lang>
<value>french display name</value>
</entries>
<entries>
<lang>it</lang>
<value>userDataTestApplication italian display name</value>
</entries>
</displayName>
</authorizedApplications>
<authorizedClients>
<name>Default</name>
<extId>100</extId>
<displayName>
<entries>
<lang>de</lang>
<value>Standard-Mandant</value>
</entries>
<entries>
<lang>en</lang>
<value>Default client</value>
</entries>
<entries>
<lang>fr</lang>
<value>Mandant standard</value>
</entries>
<entries>
<lang>it</lang>
<value>Mandante predefinito</value>
</entries>
</displayName>
</authorizedClients>
<unitGlobal>false</unitGlobal>
<appGlobal>false</appGlobal>
<clientGlobal>false</clientGlobal>
<eRoleGlobal>false</eRoleGlobal>
<directAssignment>true</directAssignment>
<extId>99990202</extId>
</authorizations>
<authorizations>
<role>
<name>ERoleMemberTestApp1Role1</name>
<extId>ERMR001</extId>
<applicationName>ERoleMemberTestApp1</applicationName>
<applicationExtId>ERMA001</applicationExtId>
</role>
<directAssignment>false</directAssignment>
<extId>99990001</extId>
</authorizations>
<authorizations>
<role>
<name>ERoleMemberTestApp1Role3</name>
<extId>ERMR003</extId>
<applicationName>ERoleMemberTestApp1</applicationName>
<applicationExtId>ERMA001</applicationExtId>
</role>
<directAssignment>false</directAssignment>
<extId>99990001</extId>
</authorizations>
<authorizations>
<role>
<name>SoapTechAccess</name>
<extId>10</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</role>
<authorizedClients>
<name>Default</name>
<extId>100</extId>
<displayName>
<entries>
<lang>de</lang>
<value>Standard-Mandant</value>
</entries>
<entries>
<lang>en</lang>
<value>Default client</value>
</entries>
<entries>
<lang>fr</lang>
<value>Mandant standard</value>
</entries>
<entries>
<lang>it</lang>
<value>Mandante predefinito</value>
</entries>
</displayName>
</authorizedClients>
<unitGlobal>false</unitGlobal>
<appGlobal>false</appGlobal>
<clientGlobal>false</clientGlobal>
<eRoleGlobal>false</eRoleGlobal>
<directAssignment>true</directAssignment>
<extId>9999999702</extId>
</authorizations>
<authorizations>
<role>
<name>testPropRole2</name>
<extId>99990002</extId>
<applicationName>testAppRoProp1</applicationName>
<applicationExtId>99990001</applicationExtId>
<properties>
<name>role_global_test_string</name>
<value>something</value>
</properties>
<properties>
<name>role_global_test_enum</name>
<value>ENUM_1</value>
</properties>
<properties>
<name>role_global_test</name>
<value>unique</value>
</properties>
<properties>
<name>role_global_test_ro</name>
<value>something</value>
</properties>
<properties>
<name>role_global_test_off</name>
<value>something</value>
</properties>
<properties>
<name>role_global_encrypted_string</name>
<value>123</value>
</properties>
</role>
<directAssignment>true</directAssignment>
<extId>99990201</extId>
</authorizations>
<authorizations>
<role>
<name>UserAdmin</name>
<extId>2</extId>
<applicationName>nevisIdm</applicationName>
<applicationExtId>1</applicationExtId>
</role>
<authorizedUnits>
<name>Default</name>
<extId>100</extId>
<displayName>
<entries>
<lang>de</lang>
<value>Default-Abteilung</value>
</entries>
<entries>
<lang>en</lang>
<value>Default unit</value>
</entries>
<entries>
<lang>fr</lang>
<value>Département Default</value>
</entries>
<entries>
<lang>it</lang>
<value>Sezione Default</value>
</entries>
</displayName>
<displayAbbreviation>
<entries>
<lang>de</lang>
<value>default</value>
</entries>
<entries>
<lang>en</lang>
<value>default</value>
</entries>
<entries>
<lang>fr</lang>
<value>default</value>
</entries>
<entries>
<lang>it</lang>
<value>default</value>
</entries>
</displayAbbreviation>
<hname>Default-Abteilung</hname>
<client>
<name>Default</name>
</client>
</authorizedUnits>
<authorizedClients>
<name>Default</name>
<extId>100</extId>
<displayName>
<entries>
<lang>de</lang>
<value>Standard-Mandant</value>
</entries>
<entries>
<lang>en</lang>
<value>Default client</value>
</entries>
<entries>
<lang>fr</lang>
<value>Mandant standard</value>
</entries>
<entries>
<lang>it</lang>
<value>Mandante predefinito</value>
</entries>
</displayName>
</authorizedClients>
<unitGlobal>false</unitGlobal>
<appGlobal>false</appGlobal>
<clientGlobal>false</clientGlobal>
<eRoleGlobal>false</eRoleGlobal>
<directAssignment>true</directAssignment>
<extId>99990200</extId>
</authorizations>
<properties>
<name>profile_global_string</name>
<value>profile prop test</value>
</properties>
<properties>
<name>profile_for_app_global_test_string</name>
<value>authorization prop test</value>
<scopeName>testAppRoProp1,testPropRole2</scopeName>
</properties>
<properties>
<name>profile_for_app_test</name>
<value>aaa</value>
<scopeName>testAppRoProp1,testPropRole2</scopeName>
</properties>
<enterpriseRoles>
<name>eRoleForDetailLevelCheck</name>
<extId>ERDLT001</extId>
<description>enterprise role for detail level test</description>
<displayName>
<entries>
<lang>de</lang>
<value>eRoleForDetailLevelCheck DE</value>
</entries>
<entries>
<lang>en</lang>
<value>eRoleForDetailLevelCheck EN</value>
</entries>
<entries>
<lang>fr</lang>
<value>eRoleForDetailLevelCheck FR</value>
</entries>
<entries>
<lang>it</lang>
<value>eRoleForDetailLevelCheck IT</value>
</entries>
</displayName>
<roles>
<name>ERoleMemberTestApp1Role1</name>
<extId>ERMR001</extId>
<applicationName>ERoleMemberTestApp1</applicationName>
<applicationExtId>ERMA001</applicationExtId>
</roles>
<roles>
<name>ERoleMemberTestApp1Role3</name>
<extId>ERMR003</extId>
<applicationName>ERoleMemberTestApp1</applicationName>
<applicationExtId>ERMA001</applicationExtId>
</roles>
<properties>
<name>erole_string</name>
<value>eRoleForDetailLevelCheck</value>
</properties>
</enterpriseRoles>
</return>
</ns2:queryProfilesResponse>