C# Example: How to get all groups, users and roles from SharePoint using SPGroup, SPUser, SPRole objects. User55586931 posted <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"> The example below show how easy can get different roles groups and user