Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows NT Users and Groups
Message
From
05/09/2000 10:42:32
 
 
To
25/08/2000 15:50:30
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00409329
Message ID:
00412471
Views:
15
Is there a function in ADSI (or anywhere else) to ADD a new NT global group?? I need to be able to add a bunch of groups as a one-off batch job, so that I can control access to a bespoke system through the NT user manager.

BTW, I have ADSI on my NT4 SP6 machine, but what can I install on my customers' machines to ensure that they have it too?

TIA
Mark.


>>Is there a Windows API function that I can use to determine what Groups a User is a member of?
>>
>>I'm talking about the Users and Groups that are in the Windows NT User Manager.
>
>This is easy if ADSI is installed on the machine:
>
>oUser = GETOBJECT("WinNT://SOMEDOMAIN/someusername,User")
>FOR EACH oItem IN oUser.Groups
> ?oItem.Name
>ENDFOR
Regards,

Mark A Tonks
Senior E-Business Developer
Halifax plc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform