Shaitan00 Posted June 3, 2004 Posted June 3, 2004 I need a method of enabling/granting Dial-In Permission to a Windows NT4 User Account, after all my research I have come to understand that this may not be possible via the command prompt and thus may require some development (API/WMI I assume). Anyone have any clues how I could go about accessing a Windows User Account via code? Hopefully the ability to grant dial-in permissions will be present there, if not any clues about a Registry Key that I could change? This can be done manually (via GUI) by loading the UserManager (in my case musrmgr.exe for workstations), selecting the User Account, then Dialin, and finally check �Grant Dialin Permission to User� Quote
Administrators PlausiblyDamp Posted June 3, 2004 Administrators Posted June 3, 2004 http://www.codeproject.com/dotnet/addnewuser.asp?df=100&forumid=14622&exp=0&select=718275 maybe worth a look. I think the property that you are after will be RasPermissions. Not something I've done personally but it looks promissing. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Shaitan00 Posted June 3, 2004 Author Posted June 3, 2004 Actually this looks very promising, however if I am correct it requires the .NET platform to be installed, however my NT4 workstation are far from being at that level of software (and the upgrade to .NET is to large). Do you know of a substitute for, lets say, VB6 or VC++6? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.