It's all about the answers!

Ask a question

Get/check user ID from RAMHeader


Manjula Somisetty (3642) | asked Nov 29 '10, 2:09 a.m.
We have rendered="#{pc_Home.admin}" function to check if the logged in user is admin or not. Similarly is there any function to check if user is logged in (I don't want announcement to be viewed by user not logged in)?

Also is there any function to get userid of logged in user (to transfer him/her to other secure application)?

3 answers



permanent link
Sheehan Anderson (1.2k4) | answered Nov 29 '10, 9:46 a.m.
JAZZ DEVELOPER
These are not API so they are subject to change.

rendered="#{loginUser.user.registered}"
${loginUser.user.loginid}

permanent link
Manjula Somisetty (3642) | answered Jan 03 '11, 3:28 a.m.
Thanks Sheehan.

Also is there any function to check if user have access to particular community..

So we can have respective announcement per community....


These are not API so they are subject to change.

rendered="#{loginUser.user.registered}"
${loginUser.user.loginid}

permanent link
Sheehan Anderson (1.2k4) | answered Mar 22 '11, 9:48 a.m.
JAZZ DEVELOPER
Thanks Sheehan.

Also is there any function to check if user have access to particular community..

So we can have respective announcement per community....




If you have community announcements it is best to place these on the community home page.

You could write javascript on the home page to make requests to a particular community home page URL and check the response to see if a user has access. You can access a list of all community URLs using the path /ram/internal/communities

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.