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



SF Users - ImportingExpand / Collapse
Author
Message
Posted 05/02/2007 9:10:25 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 4:06:22 PM
Posts: 313, Visits: 1,274
Do you guys have a program to import users from a external file and/or from active directory? We have a customer with 500 users and they are looking for a way to import so they don't have to manually create. 

I can write something but I thought I would check to see if you have done this before.

Thanks,

Tim

Post #8653
Posted 05/02/2007 10:07:17 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
No, we don't have anything like that.  However, you can easily use LDAP or WinNT with directory services to reflect over the users.

Dim loResults As SearchResultCollection
Dim loSearch As New DirectorySearcher(ObjectDirectoryEntryPoint)
loSearch.Filter = "(objectClass=User)"
loResults = loSearch.FindAll()
Post #8656
Posted 05/03/2007 8:29:57 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 4:06:22 PM
Posts: 313, Visits: 1,274
Thanks Trent.  When I populate the SF user table and then try to assign roles or permissions in the security editor, I get the message that the user is corrupted. Is there something I need to set in the record, perhaps in the 'data' field, to prevent this?

Tim

Post #8665
Posted 05/03/2007 8:49:47 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
The data field gets set when you set the username, password, or any other field that doesn't show up as a column in the SFSUsers table.  If you override the data property, then you will get that error message.  Or, if you create the users without setting the application's security key that is used to encrypt the data.  It's the SecurityBasics.SetSecurityKeyAndVectorForUserAuthentication() and it needs to be set to the same value as the application.


www.bungie.net
Post #8667
« 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:52am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 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.