I have an asmx in my website but for some reason I cant find the Profile.GetProfile.
How can I do that ?
Tx
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Security;
using System.Web.Script.Serialization;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class AI : System.Web.Services.WebService {
public AI () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public string Login(string usr, string pwd) {
if (Membership.ValidateUser(usr, pwd))
{
ProfileCommon profile = Profile.GetProfile...
} else {
return "Access Denied";
}
}
Go to the complete details ...