增加Active Directory判断