diff --git a/src/Umbraco.Core/Services/IUserService.cs b/src/Umbraco.Core/Services/IUserService.cs index 2c78bb62cc..5a77956931 100644 --- a/src/Umbraco.Core/Services/IUserService.cs +++ b/src/Umbraco.Core/Services/IUserService.cs @@ -54,12 +54,13 @@ namespace Umbraco.Core.Services void DeleteSectionFromAllUsers(string sectionAlias); /// - /// Add a specific section to all users + /// Add a specific section to all users or those specified as parameters /// - /// This is useful when a new section is created to allow all users accessing it + /// This is useful when a new section is created to allow specific users accessing it /// Alias of the section to add - void AddSectionToAllUsers(string sectionAlias); - + /// Specifiying nothing will add the section to all user + void AddSectionToAllUsers(string sectionAlias, params int[] userIds); + /// /// Get permissions set for a user and optional node ids ///