def test4_expand_groups_to_principals(self):
     owner_group = self.client.web.associated_owner_group.get(
     ).execute_query()
     result = Utility.expand_groups_to_principals(self.client,
                                                  [owner_group.login_name],
                                                  10).execute_query()
     self.assertIsNotNone(result.value)
Esempio n. 2
0
 def _group_loaded():
     from office365.sharepoint.utilities.utility import Utility
     Utility.expand_groups_to_principals(self.context,
                                         [self.login_name], max_count,
                                         return_type)