FBA Pack Questions.

Jul 31, 2011 at 11:08 PM
Edited Jul 31, 2011 at 11:10 PM

I have follow your Installation guide and Install FBA Pack. It's working very good. I can see user, change password all working good. But I have doubts, First when I log in with FBA user name it is showing user name as Full Name on the site. Which did not look good. Can we make First Name and Last Name to be display. Next thing when I click on my user name and I click on "My Settings" setting page will display on that page when I click edit, I cannot edit any of the information of the page.

I have situation where who create user it become child user of creator. So he can see and manage user which he created, for that reason I added "ParentUser" Field into database.  But I cannot find way add that field in CreateUser function in the source code. If possible can I get step by step to add new field to the source code.

Hope I am not bothering and asking lots of questions.

Jul 31, 2011 at 11:29 PM

I was checking database. I could not find field full Name in any table. But when I go User Edit of FBA I can see full Name. From where it is coming.

Aug 1, 2011 at 6:42 PM

The full name (and really most of the profile details) are stored in SharePoint, and can be viewed along with the rest of the profile fields in My Settings. The membership database is generally only used to store the username, password and email address (the email address is duplicated in the SharePoint profile as well).

The full name is created from the First Name, Last Name entered when registering a user.  It can be edited from the FBA User Management page as well as My Settings.

As for editing information on the My Settings page, I can edit it with a standalone SharePoint Foundation installation, however I don't have access to edit it on a SharePoint Enterprise installation with AD user profile syncronization.  I'm not sure what disables the editing, but my guess is that it has to do with the AD User Profile Syncronization settings, and the user is blocked from editing if AD Sync is setup.

As for allowing the creating user additional permissions - I don't think you'll need an additional field, the "Created By" field in the user information list should hold the user name. You will have to decide where to put the logic to allow editing based on that field though.  I can't think of a way you could edit the My Settings page to check for that information.  You could change the FBA User Management page to check for that. Or create your own edit user page.