Closed (won't fix)
Project:
Services
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Anonymous (not verified)
Created:
24 Sep 2007 at 03:51 UTC
Updated:
15 Apr 2018 at 17:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robloachNeat idea, might it be good to instead create a user.load function as part of the user service? Then we could load user data from any user.
Comment #2
marcingy commentedComment #3
snelson commentedComment #4
magico commented+1
Comment #5
marcingy commentedComment #6
arithmetric commentedI recently had the same problem and made this patch to load the user object during system.connect. It would be great to see this merged in soon.
Thanks.
Comment #7
marcingy commentedThis can be achieved by calling user.get after calling the connect function.
Comment #8
tyler.frankenstein commentedHere's how to post process the System Connect call in Drupal 7 to return a fully loaded user account object:
Comment #9
tyler.frankenstein commentedNot sure how I managed to change it to 8.x, I guess I'll change it to 7.x as that's the most relevant now-ish.