how to get friend user id

how to get friend user id

This question is not answered

I can get userid of the current logged user using CSContext.Current.User.UserID, but when i click my connected friend and view its profile, I want get his userid, How can i get it in codebehind

All Replies
  • Hi! What version of Evolution are you using? And if you're using 6.0 or later, are you using the Widget API (Velocity) or the Platform API (.NET)?  If 6.0 or later and it's the widget API, I would recommend $core_v2_user.Current (the contextual user) instead of the $core_v2_user.Accessing (the accessing user).