QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Spambucket on August 17, 2021, 08:38:27 am
-
Question of the day... is it possible to query Active Directory from QB64 running on a Windows OS?
-
Through WinAPI, probably. Through PowerShell, definitely. I'd have to do some research for you. I don't quite understand AD myself too much
-
Is Active Directory same as current working directory ie return from _CWD$ function?
-
@bplus No.
-
@bplus Active Directory is the domain service for Windows Professional and Enterprise. It allows administrators to create/manage/delete users and apply Group Policies to control the individual accounts or computers.
-
@SpriggsySpriggs thanks, sounds right up your ally :)
-
Thanks for the replies... I have worked with QB64's SHELL command, but not sure if that would work with command-line access to AD. I am looking to poll a staff member's first, last name and another field. Thanks!
-
Question of the day... is it possible to query Active Directory from QB64 running on a Windows OS?
I have called modules ADFIND and ADMOD from Joeware from QB64. I never had any issues. I have also used Powershell as well. Just be super careful using these tools, because they allow you to modify multiple accounts from one command line.