Accessing active user details in noderad

for anyone who used phprad classic 2.7.3 old version you came to a point where you needed to access data of the currently logged in user and you normally did this <?php get_active_user('fieldname_from_the users_table');?> however this will not work in node rad ! instead if you wish to get user data from their session you will instead do it this way! req.user.fieldname_from_users_table where fieldname_from_users_table is the name of the field in the users table you want to access! happy coding

2 Likes