SF Users - Importing


Author
Message
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
Tim Dol
Tim Dol
StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
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

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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()

Tim Dol
Tim Dol
StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search