The current SOAP API only allows you to return Users and Groups without "extra" attributes, the current SOAP API needs the addition of two methods
SOAPPrincipal findPrincipalWithAttributesByName(Token token, String name); SOAPGroup findGroupWithAttributesByName(Token token, String name);
This was the default behaviour prior to 2.0