Creating a new role of administrator


In my users table, I have an admin field(default 0). If the field is set to 1, then the user is an admin.

So I wanted to create a new role called "administrator" based on if the field is set to 1. How can I go about doing this using the CIdentity.

Thank You