add addUserSecurityDomainAndRole with input 3 modes