For most of the user information, you'll need to read cwd_user. For their groups, read cwd_membership. Then for their roles, read projectroleactor, remembering that their groups could also be used in roles.
Why do you want to do this though? It's probably a dreadfully complex way to achieve what you're trying to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.