how can we check if the impersonating user is part of certain group if not then deny access via ACL
We have a use case where we are checking if the user is impersonating, if yes then we need to check the user is a part of certain group or not. if no, then deny access in ACL. we have written a code as follows, but as per servicenow health scan findi...
