I have an homepage there you can register and log in.

I have a table in my database named members with a number of members.
In that table I have a field called usertype where I have some members who have "read" and some that have "write" as usertype.

I wounder if there is any way that I can get information from the current logged in member to see if the member has write or read as usertype.