Search in sources :

Example 6 with DirectoryObjectCollectionWithReferencesPage

use of com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesPage in project msgraph-sdk-java by microsoftgraph.

the class UserTests method getMeTransitiveReferences.

@Test
public void getMeTransitiveReferences() {
    DirectoryObjectCollectionWithReferencesPage page = graphServiceClient.me().transitiveMemberOf().references().buildRequest().get();
    assertNotNull(page);
}
Also used : DirectoryObjectCollectionWithReferencesPage(com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesPage) Test(org.junit.jupiter.api.Test)

Example 7 with DirectoryObjectCollectionWithReferencesPage

use of com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesPage in project msgraph-beta-sdk-java by microsoftgraph.

the class UserTests method getMeTransitiveReferences.

@Test
public void getMeTransitiveReferences() {
    DirectoryObjectCollectionWithReferencesPage page = graphServiceClient.me().transitiveMemberOf().references().buildRequest().get();
    assertNotNull(page);
}
Also used : DirectoryObjectCollectionWithReferencesPage(com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesPage) Test(org.junit.jupiter.api.Test)

Aggregations

DirectoryObjectCollectionWithReferencesPage (com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesPage)7 Test (org.junit.jupiter.api.Test)6 DirectoryObject (com.microsoft.graph.models.DirectoryObject)3 Group (com.microsoft.graph.models.Group)3 User (com.microsoft.graph.models.User)2 GroupCollectionPage (com.microsoft.graph.requests.GroupCollectionPage)2 UserCollectionPage (com.microsoft.graph.requests.UserCollectionPage)2 DirectoryObjectCollectionWithReferencesRequestBuilder (com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesRequestBuilder)1 ArrayList (java.util.ArrayList)1