Title: user level administration
Last modified: August 18, 2016

---

# user level administration

 *  Resolved [altmejd](https://wordpress.org/support/users/altmejd/)
 * (@altmejd)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/user-level-administration/)
 * I’m creating a blog/forum (using bbpress), and now i want a special css-class
   not to be displayd to those users who register in the forums (get subscriber 
   status in wp i think).
 * I tried to find the way to extract the user level, but i must be doing something
   wrong because i didnt get any results.
 * `
    $user_data = get_currentuserinfo(); echo('User level: ' . $user_data->user_role'');
 * This echoes “User level: “, nothing more.

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/user-level-administration/#post-518839)
 * Something like this:
 * `if ( current_user_can('level_0') );`
 * Also doing a WinGrep on the WordPress files shows some interesting used of current_user_can.
 * Additional resource:
    Roles_and_Capabilities

Viewing 1 replies (of 1 total)

The topic ‘user level administration’ is closed to new replies.

## Tags

 * [user_level](https://wordpress.org/support/topic-tag/user_level/)

 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/user-level-administration/#post-518839)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
