Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anton 135 posts 186 karma points
    Mar 19, 2012 @ 22:58
    Anton
    0

    Link to member by API

    I have usercontrol with list of members in admin panel, how I can do link to the member?

     

  • Ian Robinson 79 posts 143 karma points
    Mar 20, 2012 @ 13:52
    Ian Robinson
    0

    Hi Anton,

    The member's login uniquely identifies the member, so I would use that.

    If you put a linkbutton in your usercontrol and pass in the member login you can use that in your code behind to retrieve the member.

    // where login is the member's unique identifer, ie. ian.robinson
    System.Web.Security.MembershipUser m = Membership.GetUser(login);

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies