How To Get Account Link Groups Using BeanShell Script

Hi @Rakesh007, You may be able to achieve this by simply using the OOTB Access Request feature. Is there any specific reason you want to build custom form for it? Out of the Box Access Request feature will allow you to Add new access as well as revoke existing access.

Also, Have you looked at the PS offering of Group Management? Please see if you can utilize it.
https://community.sailpoint.com/t5/Professional-Services/AD-Group-Management/ta-p/136738