This project has moved and is read-only. For the latest updates, please go here.

Add Channel Client Permission

Adds the specified permission to a client in a specific channel.

Parameters:

channelId: the id of the channel
clientDatabaseId: the database id of the client
permission: the permission to add

Sample Code VB.net

Imports TS3QueryLib.Core.Query
...
queryRunner.SelectVirtualServerById(1)
queryRunner.AddChannelClientPermission(ByVal channelId As UInteger, ByVal clientDatabaseId As UInteger, ByVal permission As TS3QueryLib.Core.Query.HelperClasses.PermissionLight)

Sample Code C#

Using TS3QueryLib.Core.Query;
...
queryRunner.SelectVirtualServerById(1);
queryRunner.AddChannelClientPermission(uint channelId, uint clientDatabaseId, TS3QueryLib.Core.Query.HelperClasses.PermissionLight permission);

Example Usages Are Coming Soon

Add Channel Client Permissions

Adds a set of specified permissions to a client in a specific channel. Multiple permissions can be added by providing the three parameters of each permission.

Parameters:

channelId: the id of the channel
clientDatabaseId: the database id of the client
permissions: the permissions to add

Sample Code VB.net

Imports TS3QueryLib.Core.Query
...
queryRunner.SelectVirtualServerById(1)
queryRunner.AddChannelClientPermissions(ByVal channelId As UInteger, ByVal clientDatabaseId As UInteger, ByVal permissions As System.Collections.Generic.IEnumerable(Of TS3QueryLib.Core.Query.HelperClasses.PermissionLight))

Sample Code C#

Coming Soon

Example Usages Are Coming Soon

Last edited Jun 28, 2011 at 1:10 AM by JoshuaK456, version 4

Comments

No comments yet.