Add get_privilege method