Create, enable and use privilege analysis