File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/Umbraco.Core/Services Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,13 @@ public interface IUserService : IMembershipUserService
54
54
void DeleteSectionFromAllUsers ( string sectionAlias ) ;
55
55
56
56
/// <summary>
57
- /// Add a specific section to all users
57
+ /// Add a specific section to all users or those specified as parameters
58
58
/// </summary>
59
- /// <remarks>This is useful when a new section is created to allow all users accessing it</remarks>
59
+ /// <remarks>This is useful when a new section is created to allow specific users accessing it</remarks>
60
60
/// <param name="sectionAlias">Alias of the section to add</param>
61
- void AddSectionToAllUsers ( string sectionAlias ) ;
62
-
61
+ /// <param name="userIds">Specifiying nothing will add the section to all user</param>
62
+ void AddSectionToAllUsers ( string sectionAlias , params int [ ] userIds ) ;
63
+
63
64
/// <summary>
64
65
/// Get permissions set for a user and optional node ids
65
66
/// </summary>
You can’t perform that action at this time.
0 commit comments