cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2710
Views
10
Helpful
3
Replies

CUCM Get user status for users using AXL APIs

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

3 Replies 3

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.

thedd
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: