예제 #1
0
 public static IEnumerable <Content> GetRelatedIdentities(Content content, PermissionLevel level, IdentityKind identityKind, IEnumerable <PermissionType> permissions)
 {
     content.ContentHandler.Security.AssertSubtree(PermissionType.SeePermissions);
     return(SecurityHandler.GetRelatedIdentities(content.Path.ToLower(), level, identityKind, permissions).Select(n => Content.Create(n)));
 }