[wp-hackers] User Roles

Andy Staines andy at yellowswordfish.com
Mon Mar 19 11:28:04 GMT 2007


I'm pretty sure I must have missed the obvious on my trawl through the 
code but can someone tell me the 'correct' way to get the currently 
logged in users 'role'. Don't need the capabilities or levels - just the 
role. The methods I am using seem somewhat long-winded...
Thanks
Andy


More information about the wp-hackers mailing list