TeamTalk 5 .NET DLL Version 5.12A
BearWare.UserAccount Struct Reference

A struct containing the properties of a user account. More...

Public Attributes

string szUsername
 The account's username. More...
 
string szPassword
 The account's password. More...
 
UserType uUserType
 A bitmask of the type of user based on UserType. More...
 
UserRight uUserRights
 A bitmask based on UserRight which specifies the rights the user have who logs onto the server. A user of type UserType.USERTYPE_ADMIN by default has all rights. More...
 
int nUserData
 A user data field which can be used for additional information. The nUserData field of the BearWare.User struct will contain this value when a user who logs in with this account. More...
 
string szNote
 Additional notes about this user. More...
 
string szInitChannel
 User should (manually) join this channel after login. If an initial channel is specified in the user's account then no password is required for the user to join the channel. More...
 
int[] autoOperatorChannels
 Channels where this user will automatically become channel operator when joining. The channels must be of type ChannelType.CHANNEL_PERMANENT. More...
 
int nAudioCodecBpsLimit
 Bandwidth restriction for audio codecs created by this user. This value will hold the highest bitrate which is allowed for audio codecs. 0 = no limit. More...
 
AbusePrevention abusePrevent
 Properties which can be set to prevent abuse of a server, e.g. limit number of commands issued. More...
 
string szLastModified
 Timestamp of last modification of user account. Date/time is converted local time. More...
 

Detailed Description

A struct containing the properties of a user account.

A registered user is one that has a user account on the server.

See also
TeamTalkBase.DoListUserAccounts
TeamTalkBase.DoNewUserAccount
TeamTalkBase.DoDeleteUserAccount

Definition at line 2111 of file TeamTalk.cs.

Member Data Documentation

◆ szUsername

string BearWare.UserAccount.szUsername

The account's username.

Definition at line 2115 of file TeamTalk.cs.

◆ szPassword

string BearWare.UserAccount.szPassword

The account's password.

Definition at line 2118 of file TeamTalk.cs.

◆ uUserType

UserType BearWare.UserAccount.uUserType

A bitmask of the type of user based on UserType.

Definition at line 2120 of file TeamTalk.cs.

◆ uUserRights

UserRight BearWare.UserAccount.uUserRights

A bitmask based on UserRight which specifies the rights the user have who logs onto the server. A user of type UserType.USERTYPE_ADMIN by default has all rights.

Definition at line 2124 of file TeamTalk.cs.

◆ nUserData

int BearWare.UserAccount.nUserData

A user data field which can be used for additional information. The nUserData field of the BearWare.User struct will contain this value when a user who logs in with this account.

Definition at line 2128 of file TeamTalk.cs.

◆ szNote

string BearWare.UserAccount.szNote

Additional notes about this user.

Definition at line 2131 of file TeamTalk.cs.

◆ szInitChannel

string BearWare.UserAccount.szInitChannel

User should (manually) join this channel after login. If an initial channel is specified in the user's account then no password is required for the user to join the channel.

See also
TeamTalkBase.DoJoinChannel()

Definition at line 2137 of file TeamTalk.cs.

◆ autoOperatorChannels

int [] BearWare.UserAccount.autoOperatorChannels

Channels where this user will automatically become channel operator when joining. The channels must be of type ChannelType.CHANNEL_PERMANENT.

See also
TeamTalkBase.DoChannelOp()

Definition at line 2142 of file TeamTalk.cs.

◆ nAudioCodecBpsLimit

int BearWare.UserAccount.nAudioCodecBpsLimit

Bandwidth restriction for audio codecs created by this user. This value will hold the highest bitrate which is allowed for audio codecs. 0 = no limit.

See also
AudioCodec

Definition at line 2146 of file TeamTalk.cs.

◆ abusePrevent

AbusePrevention BearWare.UserAccount.abusePrevent

Properties which can be set to prevent abuse of a server, e.g. limit number of commands issued.

Requires TeamTalk version 5.2.3.4896.

Definition at line 2151 of file TeamTalk.cs.

◆ szLastModified

string BearWare.UserAccount.szLastModified

Timestamp of last modification of user account. Date/time is converted local time.

Definition at line 2155 of file TeamTalk.cs.