As .loginAdministrative(null) is deprecated in CQ 5.5 and in AEM 6.2 loginService(String,String) method is used.
As in 5.5 there is no need to create service user and .loginAdministrative(null) was used,
And in AEM 6.2 ,
For creating group and users , it is necessary that only service user can do following operation i.e creating group and users in crx repository?
Thanks , I agree with your point.
I have to create a users and groups programatically that is in osgi-bundle , I think for it service user are required, doesn't it?
Also, Can i create system user programatically?