Display name of contact

Last post 06-11-2010, 12:39 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  06-09-2010, 7:05 AM 61640

    Display name of contact

    Hi,
     
        In my contact list each contact shows "contact name<mailid_userid>" . here mailid is mail of contact and userid is primary key value for that user. I used userid in addition to make contact unique because more than one user can have same mailid. But i want to show only
    "contact name<mailid>" for contacts. Can you tell me how i can do this. I configured Cute Chat as in "Membership Database Integration".
     
    Thanks & Regards
    Jagpal Singh
  •  06-11-2010, 12:39 AM 61676 in reply to 61640

    Re: Display name of contact

    Hi jagpalbashati,
     
    Open your own Chat Provider
     
    Find method below. I think you set nickName=loginName; in the below method. so the display name will same as the loginname.
     
    public override bool GetUserInfo(string loginName, ref string nickName, ref bool isAdmin)
      {
      }
     
    You can change the section to the name you want to show, like
     
    nickName="jagpalbashati";
     
    all user will display as jagpalbashati.
     
    Regards,
     
    Ken
View as RSS news feed in XML