I need to access user data using the user id as a key within a widget. Is there an API that will give me the curently logged in user id?
IF your extending the base widget class you can get the userid from the widgetContext as follows
see Widgets: Frequently Asked Questions
Thanks for the help.
Retrieving data ...