| | | StrataFrame User
       
Group: StrataFrame Users Last Login: 11/27/2008 10:53:17 AM Posts: 314, Visits: 1,276 |
| | 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 |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 4:50:35 PM Posts: 4,796, Visits: 4,766 |
| | 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() |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: 11/27/2008 10:53:17 AM Posts: 314, Visits: 1,276 |
| | 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 |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 1:09:23 PM Posts: 2,686, Visits: 1,888 |
| 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 |
| |
|
|