passing user data

G

Guest

Hello,

I have created a login page and a custom membership provider based on
MSAccess. I am trying to get a page to display a GridView with a list of the
persons addresses when they log in.

The datasource is based on the membership table, and an address table. What
I am looking for is something in the WHERE statement like "WHERE userid=" &
current logged in user id.

Is there a way of finding data in Fields in the membership table? Something
like Dlookup("[displayname]","[membership]","[userid]=" & logged in user id)
I guess?

Many thanks in advance

James
 
G

Guest

Hi,

Memebership.GetUser(userName) provides methods for getting profile info for
the given user. See if this is what you are looking for.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top