You need to sign in to do that
Don't have an account?
onetwokathree
list of customer Portal User in Visual force page
Hi i have enabled customer portal and all user register from the siteRegister page stored in customer portal.
has any body idea to list all customer Portal User in to visual force page?
Use Apex to perform a query on the user object using "IsPortalEnabled", "IsPortalSelfRegistered", or "UserType" as the filter depending on what you want. Read the API Develoepr Guide on what fields are available.
Ex: Query for Portal User
List<User> userList = [select name from User where IsPortalEnabled = true];
All Answers
Use Apex to perform a query on the user object using "IsPortalEnabled", "IsPortalSelfRegistered", or "UserType" as the filter depending on what you want. Read the API Develoepr Guide on what fields are available.
Ex: Query for Portal User
List<User> userList = [select name from User where IsPortalEnabled = true];