You are viewing limited content. For full access, please sign in.

Question

Question

LF Workflow user properties do not include last login date/time

asked on June 19

As far as I can tell, I can get all users in an Active Directory group and I can also use that user ID to find the user in the repository, but I cannot find their last login date/time. I'm wondering if it's possible to find their last login date/time some other way, since that information is available in LFDS?

 

0 0

Replies

replied on June 21

Hi Mike,

To get users' last login date/time, you may configure custom properties for the AD trustee directory by adding an attribute 'lastLogon' (https://learn.microsoft.com/en-us/windows/win32/adschema/a-lastlogon). It will return a long-type value and it can be converted to readable date/time by DateTime.FromFileTimeUtc in C#.

0 0
replied on June 22

Wouldn't that be the last login to Windows or any program that uses their AD login? I'm specifically looking for their last login to Laserfiche Forms or Repository as a participant user.

 

0 0
replied on June 22

Hi Mike,

The value is not available in current released Workflow. Work item #675701 is created to support it. We will let you know once the feature is released.

 

Thanks,

Zhujie

1 0
replied on June 23 Show version history

Thank you - I would also like to be able to determine license type. Based on last login date, I would like to:

  • Exempt user from synchronization rules
  • Disable the user
  • Change license to None

 

This would save lots of time when trying to manage user licenses in LFDS if I could do this in Workflow instead. Thank you.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.