Hi,
Is it possible to write a code that adds network(with a domain) users to certain groups etc Admin/power users... Or is this not gonna work because of security.Thanks
Regards
Printable View
Hi,
Is it possible to write a code that adds network(with a domain) users to certain groups etc Admin/power users... Or is this not gonna work because of security.Thanks
Regards
If the person running the code had sufficient rights to perform this task, then it probably would work.
However, this type of thing would not be something to be included in a general network application because most, if not all, of the users wouldn't have sufficient rights.
If you were going to code this, I would put it into a Admin module that you know will only be accessible and run by people that do have those rights.
It is definetely possible to write this code. Search the microsft kb. You will need to work with active directory (Assuming its a win2k or win2k3 domain).Quote:
Originally Posted by Ch1n
Take a look at ADSI, it will provide everything you will need:
http://msdn.microsoft.com/library/de...faces_adsi.asp