CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Question about who's logged in
Pages: [1]

Author Topic: Question about who's logged in  (Read 6993 times)

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Question about who's logged in
July 28, 2011, 02:08:22 am
I need to display some information based on some information stored in a user's profile. When the user logs in, how do I find out who that user is? Must be possible because the "profile edit form" menu option returns my profile when I'm logged in

Following on from that, I also want to set up a form where a super user can edit someone else's profile. However, neither the "Profile search form" nor the "profile edit form" seem to have an edit option

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Question about who's logged in
July 28, 2011, 09:54:44 am
Profiles definitely have an 'edit' option - which is available depending on permissions. For users with 'edit all contact' permissions - if you
  • Include profile edit links in search results? on profile advanced settings there will be edit links on profile search result rows.


More details on various profile functions at:
http://en.flossmanuals.net/civicrm/ch012_profiles/

Chk here from info on retrieving current user and contact:
http://wiki.civicrm.org/confluence/display/CRMDOC40/Notes+for+New+Developers+and+Webmasters
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Question about who's logged in

This forum was archived on 2017-11-26.