Skip to content

Querying Role Assignment Data #371

Answered by jansenbe
kentlhastings asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the QueryProperties LINQ method to realize this:

var source = await context.Web.GetFolderByServerRelativeUrlAsync(folder.ServerRelativeUrl, x => x.ItemCount, x => x.Folders, x => x.Files, x => x.ListItemAllFields.QueryProperties(p => p.RoleAssignments));

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jansenbe
Comment options

@kentlhastings
Comment options

@kentlhastings
Comment options

@jansenbe
Comment options

@kentlhastings
Comment options

Answer selected by kentlhastings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants