I want to be able to programmatically read a permission mask and determine if
certain permissions are contained within the permission mask. MS's
documentation shows how to set it, but then the number that comes back when
you read the permission mask's .ToString method is totally useless to me
becuase it doesn't tell me anything about what the actual permissions are
within the mask.

Can anyone provide me with some guidance on how to read this property and
parse it to find out if it has certain permissions?

Thanks,
Stephajn