public static MozuClient<com.mozu.api.contracts.tenant.TenantCollection> getTenantScopesForUserClient(String userId, String responseFields) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.platform.adminuser.AdminUserUrl.getTenantScopesForUserUrl(responseFields, userId);
		String verb = "GET";
		Class<?> clz = com.mozu.api.contracts.tenant.TenantCollection.class;
		MozuClient<com.mozu.api.contracts.tenant.TenantCollection> mozuClient = (MozuClient<com.mozu.api.contracts.tenant.TenantCollection>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		return mozuClient;

	}
public static MozuClient < com . mozu . api . contracts . tenant . TenantCollection > getTenantScopesForUserClient ( String userId , String responseFields ) throws Exception { MozuUrl url = com . mozu . api . urls . platform . adminuser . AdminUserUrl . getTenantScopesForUserUrl ( responseFields , userId ) ; String verb = "GET" ; Class < ? > clz = com . mozu . api . contracts . tenant . TenantCollection . class ; MozuClient < com . mozu . api . contracts . tenant . TenantCollection > mozuClient = ( MozuClient < com . mozu . api . contracts . tenant . TenantCollection > ) MozuClientFactory . getInstance ( clz ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; return mozuClient ; }
<p><pre><code>
MozuClient<com.mozu.api.contracts.tenant.TenantCollection> mozuClient=GetTenantScopesForUserClient( userId,  responseFields);
client.setBaseAddress(url);
client.executeRequest();
TenantCollection tenantCollection = client.Result();
</code></pre></p>
@param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
@param userId Unique identifier of the user whose tenant scopes you want to retrieve.
@return Mozu.Api.MozuClient <com.mozu.api.contracts.tenant.TenantCollection>
@see com.mozu.api.contracts.tenant.TenantCollection