Checks for permission and throws an exception if not allowed. May block to ask the user a question. parampermissionName unique name of the permission to check for, cannot be nullparamresource string to insert into the question, can be nullparamextraValue string to insert into the question, can be nullexceptionSecurityException if the permission is not allowed
May block to ask the user a question.
null