|
-
Feb 20th, 2006, 10:28 AM
#1
Thread Starter
Member
Probably not possible - Admins
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
-
Feb 20th, 2006, 10:33 AM
#2
Re: Probably not possible - Admins
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.
-
Feb 22nd, 2006, 11:15 AM
#3
Lively Member
Re: Probably not possible - Admins
 Originally Posted by Ch1n
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
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).
Take a look at ADSI, it will provide everything you will need:
http://msdn.microsoft.com/library/de...faces_adsi.asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|