Since I have been using deprecated API I was not able to create users in AEM.Now this problem is resolved .Attached the sample screenshot .Scott,We can change the code accordingly to make work in AEM 6.x.Kindly let me know if you need any details. Thanks,Sambasivaraja.