If you use Active Directory as users storage for your Sharepoint site with LdapMembershipProvider and LdapRoleProvider then sometimes it will be useful to know when user or group account was created in your AD. It can be achived by using LDIFDE command line utility:
1: ldifde -d ou=myusers,dc=example,dc=com -l whencreated -p onelevel
2: -r "(ObjectCategory=user)" -f log.txt
You should specify your own root LDAP search path after “-d” param. It will list all your users and date when they were created.
No comments:
Post a Comment