If #Sharepoint forces you to #hack, then why is it so #populair? See for example: https://spservices.codeplex.com/wikipage?title=GetRolesAndPermissionsForCurrentUser&referringTitle=Users%20and%20Groups

A murb'ed feed, posted more than 9 years ago filed in sharepoint & hack.

Go to the original link.