Check if current user is disabled in Active Directory

  • 31 January 2019
  • 1 reply
  • 61 views

I have an application that stores a list of users ([Domain][Username]). I need to be able to scan through this list of users and check if they are still active/enabled in Active Directory. 

 

I've reviewed the OOTB AD User and User URM SmartObjects / Service Brokers but cannot find any way to check this. 

 

If I use the GetUserDetails on AD User SmartObject for an inactive/disabled AD user, the Smo returns an error, but not sure if I can use this to verify active / enabled users.

 

Also, during workflow processing, if the Destination User happens to be disabled / inactive in AD the workflow enters an error state. It would be great to be able to check for this and handle gracefully either by escalation or workflow re-routing.

 

Version: K2 Blackpearl v4.6.11 (currently)

 

Any help / pointers welcome.


1 reply

Badge +11

K2 has a web site where you can log new product ideas!  Others can vote on your idea.  This is a great way to let your ideas be heard.

https://ideas.k2.com

 

Reply