-
Generally finding out if a user has the permissions to do something involves trying to do that thing, and handling the access denied (error 5) exception that results. What if you wanted to know if a user is an admin though prior to doing some admin task via code? Normally this would be as easy as checking...