StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Login Screen - Web FormsExpand / Collapse
Author
Message
Posted 03/13/2007 10:25:26 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 10:07:19 AM
Posts: 308, Visits: 1,234
We have a exiting login page for our web application. Right now it doesn't support windows authentication so I guess I need to add a domain drop down to the page.  Can I utilitize the existing code in the login class to populate the domain drop down or do I have to write my own code for this?
Post #7439
Posted 03/13/2007 10:32:50 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
I don't think there is a method exposed to populate that drop-down list.  But, it is easy to do with the classes within the System.DirectoryServices namespace.  There are Active Directory objects that allow you to get the current domain, and recursively get the parent of that domain until you get to the top of the forest.  Then, just go through the child domains until you have a complete list populated.


www.bungie.net
Post #7441
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:04pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.