text: ---
  description: "Automatically generated file. DO NOT MODIFY"
  ---
  
  ```objc
  
  MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationProvider:authenticationProvider];
  
  NSString *MSGraphBaseURL = @"https://graph.microsoft.com/beta/";
  NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/roleManagement/deviceManagement/roleAssignments?$filter%20=%20principalIds/any(x:x%20eq%20'564ae70c-73d9-476b-820b-fb61eb7384b9')"]]];
  [urlRequest setHTTPMethod:@"GET"];
  
  MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest 
  	completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
  
  		NSError *jsonError = nil;
  		MSCollection *collection = [[MSCollection alloc] initWithData:data error:&jsonError];
  		MSGraphUnifiedRoleAssignmentMultiple *unifiedRoleAssignmentMultiple = [[MSGraphUnifiedRoleAssignmentMultiple alloc] initWithDictionary:[[collection value] objectAtIndex: 0] error:&nserror];
  
  }];
  
  [meDataTask execute];
  
  ```