Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / July 2007

Tip: Looking for answers? Try searching our database.

programatically remove authenticated users group & add IIS_WPG

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kaush - 27 Jul 2007 22:20 GMT
Greetings,

I am working on an application that will remove the NT
authority/Authenticated users group and add IIS_wpg group along with other
groups on IIS virtual directories.  Can some one help me to find out a way to
determin if IIS_WPG group and its default members exist on the web server.  I
read about system.directoryservices.directoryentry and use
"winnt://servername..." to connect to local computer and get the groups but
this doesnt work on my Win 2003 VMWare box.  I get {"Unknown error
(0x80005000)"} on all the properties in quickview.  Is this not how you can
enumerate local groups?

Please advice.

Thansk,
Kaush
Kaush - 27 Jul 2007 23:30 GMT
Okay I figure it out.  I never knew that the DirectoryServices class and ADSI
need the path with correct case.  I was trying "winnt://severname" but as
soon as I changed it to "WinNT://servername", it worked.  I though case did
not matter but now I know.

> Greetings,
>
[quoted text clipped - 12 lines]
> Thansk,
> Kaush

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.