Results 1 to 3 of 3

Thread: Probably not possible - Admins

  1. #1

    Thread Starter
    Member Ch1n's Avatar
    Join Date
    Apr 2005
    Location
    Pompey
    Posts
    42

    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
    "He who dares, wins"

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  3. #3
    Lively Member
    Join Date
    Jan 2006
    Posts
    68

    Re: Probably not possible - Admins

    Quote 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
    Novice Programmer
    Expert Bodybuilder (Feel free to PM me any training/diet/supplement questions)

    vbforums.com
    aplist
    msdn forums

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width