This project has moved and is read-only. For the latest updates, please go here.

Showing role of user on UsersDisp.aspx

Feb 16, 2015 at 8:15 AM
Hello,

I wanted to show the Role column of user on UsersDisp.aspx so that i can filter the users. I added the role column on page but now have no idea where to get the user's role from database or SharePoint user list.
Can anyone please guide me how to show role's column.
Feb 17, 2015 at 4:36 AM
You'll have to modify the data source for the data to include the roles: FBAUserView.cs

https://sharepoint2013fba.codeplex.com/SourceControl/latest#Visigo.Sharepoint.FormsBasedAuthentication/Visigo.Sharepoint.FormsBasedAuthentication/Code/Data/FBAUsersView.cs

It's a combination of data from SharePoint and the membership database.