Re: The chat does not works

  •  11-05-2012, 6:38 AM

    Re: The chat does not works

    Hi Armand66,

     

    C# code

     

    1. public override bool GetUserInfo(string loginName, ref string nickName, ref bool isAdmin)  
    2.     {  
    3.         try  
    4.         {  
    5.             string username = System.Web.Security.Membership.GetUser(loginName).UserName;  
    6.             if (username == null)  
    7.             {  
    8.                 return false;  
    9.             }  
    10.             nickName = username;  
    11.             isAdmin = true;  
    12.             return true;  
    13.         }  
    14.         catch (Exception ex)  
    15.         {  
    16.             return false;  
    17.         }  
    18.     }  
     

    Regards,

     

    Ken 

View Complete Thread