roles /users /groups

I know there is a popup dialog that provides this interface from MWS perspective but what is the underlying mechanism that is communicating with MWS server to get this information? Thanks in advance