Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

The chat does not works

Last post 11-05-2012, 6:38 AM by Kenneth. 21 replies.
Page 2 of 2 (22 items)   < Previous 1 2
Sort Posts: Previous Next
  •  11-03-2012, 10:48 AM 75144 in reply to 74987

    Re: The chat does not works

    Hi Kenneth,

    Can you give me the example in Visual C#?

    Thanks,

     

  •  11-05-2012, 6:38 AM 75151 in reply to 75144

    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 

Page 2 of 2 (22 items)   < Previous 1 2
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.