Hi,
Does cute chat support MOSS 2007 integration.
If yes, i would like to have a sample class file on the Membership Database Integration.
The example provided on the developers guide is not that clear. It will be really great if you can provide an example class file. So i can test it out with Moss 2007.
Importantly, if i used Windows authentication what value should i set in the following functions
public override AppChatIdentity GetLogonIdentity()
{
need to find the information of current user. Return null if user is anonymous.
string loginname=...
string nickname=...
return new AppChatIdentity(nickname, false, ToUserId(loginname), HttpContext.Current.Request.UserHostAddress);
}
public override bool GetUserInfo(string loginName, ref string nickName, ref bool isAdmin)
{
return false , if the loginName is invalid.
otherwise set the nickName and isAdmin , and return ture
}
public override bool ValidateUser(string loginName, string password)
{
check the username/password .
if valid , set the cookie.
}
Thanks and Regards,
Strikingknife