i created a module storing my logged in user's Login ID (gintLoginID). this information will be passed around when in need. Now i'm currently in another form and this form contains a few buttons namely, Add, Edit and Delete. All users are given a role Entry, Update, View.

is it possible for me to check using gintLoginID the role of the logged in user?
i want to make buttons available for certain users. eg. Entry role has add, edit and delete. Update role has edit and delete. View role has none.

is it possible? please help