usefulBee
usefulBee

Reputation: 9692

Does ASP.NET Membership Provide a Way to Access the aspnet_Profile Table

I would like to be able to retrieve a value of one of the concatenated string properties (PropertyNames column) for the logged in user.

I looked through the Membership class but could not find any way so far.

Any idea? And what would be the best approach?

Upvotes: 0

Views: 120

Answers (1)

usefulBee
usefulBee

Reputation: 9692

Got it! Using System.Web.Profile.

Found the following link helpful about extracting individual properties.

Also, the app was throwing the following error:

Could not load type 'System.Web.Security.SqlProfileProvider'

A change was needed to be made in the Web.Config file

The following link pointed to the main issue

Upvotes: 3

Related Questions