Hi all,
I've currently written some code in C# that runs on Office 365/Sharepoint Online.
In the code, I'm programmatically breaking role inheritance on a list and want to assign the list to the Office 365 / Sharepoint group "Everyone", which is a domain group.
To do this I'm using ClientContext.Web.SiteGroups.GetByName(Group Name) to find the group and then later assigning the group to the list with given permissions, via RoleDefinitionBindingCollection.Add() on the list.
However since the group "Everyone" (or "All Users" for that matter) are domain groups, I'm having trouble locating them, constantly getting the exception thrown that the group can't be found. Other (Sharepoint-)groups can be found with no trouble.
Since these are (I'm guessing) specfic Office 365/Sharepoint Online groups how do I reference them in the call? What is the generic domain for these user groups?
Hope this makes some sense :) and thanks in advance.
/Anders