示例#1
0
 /// <summary>
 /// Adds the specified permission to the server group specified with sgid.
 /// </summary>
 /// <param name="serverGroupId">the id of the server group</param>
 /// <param name="permission">the permission to add</param>
 /// <param name="continueOnError">if set to <c>true</c> continue on error.</param>
 public SimpleResponse AddServerGroupPermission(uint serverGroupId, Permission permission, bool continueOnError)
 {
     return AddServerGroupPermission(serverGroupId, new[] { permission }, continueOnError);
 }
示例#2
0
 /// <summary>
 /// Adds the specified permission to the server group specified with sgid.
 /// </summary>
 /// <param name="serverGroupId">the id of the server group</param>
 /// <param name="permission">the permission to add</param>
 public SimpleResponse AddServerGroupPermission(uint serverGroupId, Permission permission)
 {
     return AddServerGroupPermission(serverGroupId, permission, false);
 }