[net] Add role for user

Add role and its rpc getter, setter functions.

Any review is welome!