thanks guys. In my website I've set everything up in the web config that enables me to use the membership and profile providers.
Now in my DAL which is a class library project I need to pass the membershipuser object as an argument to a function:
Code:
Public Function SendInvitations(ByVal User As MemberShipUser, ByVal ToEmailArray As String, ByVal Message As String) As String
End Function
but I cant use the membership provider in the class library. How would I get access to it? Inside the function I need to use the User.Email and ProviderUserKey etc