Paul Vipond wrote:
When I do a query in the sap[REP]user-table under the CompanyID field I do see the user group values as I would in SU01. I don't know where the table 'idmv_vallink_basic' is to query those results. Is this in the temporary DB?
idmv_vallink_basic is one of the basic views that exposes the IdM data to SQL queries. See this help link for more info: Using views to access identity store information
The query below would return the mx_admin_unit in IdM per the given logon id, if the ABAP logon id is the same as the mskeyvalue of the user:
select mcAttrName, mcSearchValue, mcModifyTime
from idmv_vallink_basic with (nolock)
where mcAttrName = 'MX_ADMIN_UNIT'
and MSKEY in (
select MSKEY
from idmv_vallink_basic with (nolock)
where mcAttrName = 'MSKEYVALUE'
and mcSearchValue = '[the logon id in question]'
)
regards, Tero