View Full Version : get user's permissions using fetch_userinfo
souperman
12-24-2011, 04:19 AM
fetch_userinfo doesn't seem to be getting the user's permission array. When I var_dump the fetch_userinfo($myuserid) I don't get the user's permission. Is there another option to this function to be able to get the permission array?
You could call fetch_permissions() in includes/functions.php.
ETA: ...and Disasterpiece has a link to the docs.
Disasterpiece
12-24-2011, 02:16 PM
Maybe this? http://members.vbulletin.com/api/vBulletin/_includes---functions.php.html#functionfetch_permissions
Not sure which permissions you mean exactly.
//e: ninja'd
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.