RemoveEntriesForGlobals() public static method

Removes all the ACL Entries for global resources that are bound to a user group.
public static RemoveEntriesForGlobals ( UserGroup group ) : bool
group UserGroup The user group.
return bool
Ejemplo n.º 1
0
 /// <summary>
 /// Removes all the ACL entries for a user.
 /// </summary>
 /// <param name="user">The user.</param>
 /// <returns><c>true</c> if the operation succeeded, <c>false</c> otherwise.</returns>
 private bool RemoveAllAclEntries(UserInfo user)
 {
     return(AuthWriter.RemoveEntriesForGlobals(user));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes all the ACL entries for a group.
 /// </summary>
 /// <param name="group">The group.</param>
 /// <returns><c>true</c> if the operation succeeded, <c>false</c> otherwise.</returns>
 private bool RemoveAllAclEntries(UserGroup group)
 {
     return(AuthWriter.RemoveEntriesForGlobals(group));
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Removes all the ACL entries for a user.
        /// </summary>
        /// <param name="user">The user.</param>
        /// <returns><c>true</c> if the operation succeeded, <c>false</c> otherwise.</returns>
        private bool RemoveAllAclEntries(UserInfo user)
        {
            AuthWriter authWriter = new AuthWriter(Collectors.CollectorsBox.GetSettingsProvider(currentWiki));

            return(authWriter.RemoveEntriesForGlobals(user));
        }