From 91b599b213457f4539695fbecf114d8f73fdec66 Mon Sep 17 00:00:00 2001 From: Alain Date: Tue, 6 Jan 2015 12:14:13 +0000 Subject: [PATCH] Update IUserService.cs --- src/Umbraco.Core/Services/IUserService.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 ///