Active directory hooks