Marc Posted July 29, 2013 Share Posted July 29, 2013 (edited) Hi all, a long time ago I wanted a comfortable tool to get information of a specified user in our active directory. After some searching I decided to create my own tool and "Userinfo" was born. displays all useful information about the user (retrieved from active directory) displays the PCs/NCs the user has (if this information can be retrieved from a database) displays the list of neighbours of the current user compares the active directoy groups of the selected user with another user unlock a locked account Feel free to adjust it to your needs Credits go to: Water for his excellent Active Directory UDF Ascend4nt for his Clipput.html Funkey for demonstrating how to check if a label is bold or not rasim for the example showing how to sort Listview Items DanyFirex for his Loga-Library. Included a modified version in the zip-File which also logs milliseconds. Update 2018-03-08: Release of v3.43. Changes from 2.80: ehrm, plenty. Multilanguage support is removed, but this version is translated to english. This time, the Zip file includes two versions: the stripped-down version, which uses only the active directory. This version should run out-of-the-box (hehe, a Domain is required. Wouldn't make much sense otherwise, would it?) the 'full' version. This needs to be adopted to your environment, because it requires some SQL Database connections to get information about the user's PC Update 2022-02-21: Release of v4.07 Changes: now the Userinfo uses waters excellent AD.UDF instead of some code of it improved interface lots of new abilities now uses the loga.udf to create a Logfile if started from scite or if the compiled exe ist launched with the /log parameter now there is not a stripped-down version and a "full version" of the code. Instead, before trying any database connection, the server to be queried is checked via ping. So the code should run out-of-the-box without changes, and you can edit the database queries to fit to your environment best regards, Marc Userinfo.zip userinfo_english v3.43.zip Userinfo 4.07.zip Edited February 21, 2022 by Marc ModemJunki and Gianni 2 Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
water Posted July 29, 2013 Share Posted July 29, 2013 Good looking example I'm going to post a link on the Active Directory Example Scripts thread. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
kyo Posted August 2, 2013 Share Posted August 2, 2013 A very interesting tool... Thanks for the code, it will be a good learning tool indeed! Link to comment Share on other sites More sharing options...
araneon Posted December 2, 2015 Share Posted December 2, 2015 because of what I have an error------------------------------------------------------We intercepted a COM Error!Number is: 80005000Windescription is:err.description is:err.source is:err.helpfile is:err.helpcontext is:err.lastdllerror is: 0err.retcode is:Script Line number is: 605---------------------------OK--------------------------- Link to comment Share on other sites More sharing options...
araneon Posted December 2, 2015 Share Posted December 2, 2015 It seems to understand.It was necessary to to specify the domain on 597 line?Funk finde_domaene ($ user = "", $ domaene = "DOMANE.RU") Link to comment Share on other sites More sharing options...
Battalion Posted July 11, 2016 Share Posted July 11, 2016 Hey Marc, are you still supporting this? when I click on "Neighbours" I get a COM error: We Intercepted a COM Error! Number is :80020006 windescription is: Uknown Name is there an updated version? Link to comment Share on other sites More sharing options...
Marc Posted August 23, 2016 Author Share Posted August 23, 2016 On 2.12.2015 at 7:34 AM, araneon said: It seems to understand. It was necessary to to specify the domain on 597 line? Funk finde_domaene ($ user = "", $ domaene = "DOMANE.RU") Hi araneon, sorry for the late reply - after two years, I did not expect questions to come up You can add a domain name here as default, which wil be used if no domain is chosen in the GUI. At least on my PC, the GUI displays all Domains known to the PC in the Listbox. Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
Marc Posted August 23, 2016 Author Share Posted August 23, 2016 On 11.7.2016 at 7:10 PM, Battalion said: are you still supporting this? when I click on "Neighbours" I get a COM error: Hi Battalion, sorry for the late answer. I am still using this tool (but in a different version - not multilingual and somewhat tweaked to fit in our specific environment). Anyway, the function suche_nachbarn() does rely on the active directory having set the "physicalDeliveryOfficeName". I suppose the crash occures here, do you have a line number where the error occures to investigate this? Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
Marc Posted March 8, 2018 Author Share Posted March 8, 2018 (edited) released a much newer version in the first post. Edited March 8, 2018 by Marc Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
Marc Posted February 21, 2022 Author Share Posted February 21, 2022 released a much newer version in the first post. Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now