07-18-2019 05:39 AM - edited 07-19-2019 02:22 AM
Is it possible to get user status for users that is shown on the dashboard from the AXL APIs? I have tried checking the APIs, get user, list user and also tried SQL queries but none of them have that information.
Image is attached for reference to user status.
thank you
07-19-2019 10:45 AM
Check <getUser> field <status>: https://pubhub.devnetcloud.com/media/axl-schema-reference/docs/Files/AXLSoap_getUser.html#Link782
07-19-2019 10:49 AM
I checked that field it doesn't return the status that is on the dashboard. The dashboard status is user status and has values like Enabled Local User, LDAP Active User and so on while the status gotten from the get User API is a number and is same for all.
10-22-2019 01:13 AM
Just tryed myself
SQL: run sql select userid, status from enduser userid status ====== ====== LDAP_USER 1 INAKT_USER 2
AXl get User says <status>1</status> or <status>2</status>
Status 1 seems to be Active Enabled LDAP Synchronized User
Status 2 seems to be Inactive LDAP Synchronized User
So i had a look in the Data Dictionary:
2.3.175.41 status (FI-1653) Type: long Default Value: 1 Remarks: Active or Inactive
As far as i see there are only the two states active or inactive
If you want to know if auser is LDAP Synced you will need to have a look for fkdirectorypluginconfig
run sql select userid, status, fkdirectorypluginconfig from enduser userid status fkdirectorypluginconfig ======= ====== ==================================== LDAP_USER 1 444cfb4a-ab21-9519-9f92-99144c530f59 LOKAL_USER 1 NULL INAKT_USER 2 444cfb4a-ab21-9519-9f92-99144c530f59
fkdirectorypluginconfig is null if there is no LDAP refernece and will return the ID of the LDAP if synced from there
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide