Questions tagged by "active-directory"


0
 bounty
1
answers
Active Directory - lastLogon vs lastLogonTimestamp - what is the difference?
9 years ago • alex
What is the difference between lastLogon vs lastLogonTimestamp atributes in Active Directory? These attributes contain slightly different values - pls see an example below. I am trying to determine when was the last time that this user has logged in to see if this is a stale user or active user. Seeing different values is confusing. Thanks!
0
 bounty
1
answers
Using SQL to analyze Active Directory UserAccountControl bits to determine if account is DISABLED or ENABLED
9 years ago • alex
I have a dump of Users data from Active Directory into Oracle table and need to create a view to analyze Active Directory data using SQL. One of the columns in that view needs to be a flag that would contain 'Y' if this user account is disabled in Active Directory, and 'N' if user account is active and user can log in. I have a numeric column called user_account_control that basically contains a value from UserAccountControl AD attribute. I kno
1 from 2