TeamTalk 5 C-API DLL  Version 5.14A
UserAccount Struct Reference

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

#include <TeamTalk.h>

Public Attributes

TTCHAR szUsername [TT_STRLEN]
 The account's username. More...
 
TTCHAR szPassword [TT_STRLEN]
 The account's password. More...
 
UserTypes uUserType
 A bitmask of the type of user based on UserType. More...
 
UserRights uUserRights
 A bitmask based on UserRight which specifies the rights the user have who logs onto the server. A user of type USERTYPE_ADMIN by default has all rights. More...
 
INT32 nUserData
 A user data field which can be used for additional information. The nUserData field of the User struct will contain this value when a user who logs in with this account. More...
 
TTCHAR szNote [TT_STRLEN]
 Additional notes about this user. More...
 
TTCHAR szInitChannel [TT_STRLEN]
 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...
 
INT32 autoOperatorChannels [TT_CHANNELS_OPERATOR_MAX]
 Channels where this user will automatically become channel operator when joining. The channels must be of type CHANNEL_PERMANENT. More...
 
INT32 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...
 
TTCHAR szLastModified [TT_STRLEN]
 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
TT_DoListUserAccounts
TT_DoNewUserAccount
TT_DoDeleteUserAccount

Definition at line 2018 of file TeamTalk.h.

Member Data Documentation

◆ szUsername

TTCHAR UserAccount::szUsername[TT_STRLEN]

The account's username.

Definition at line 2021 of file TeamTalk.h.

◆ szPassword

TTCHAR UserAccount::szPassword[TT_STRLEN]

The account's password.

Definition at line 2023 of file TeamTalk.h.

◆ uUserType

UserTypes UserAccount::uUserType

A bitmask of the type of user based on UserType.

Definition at line 2025 of file TeamTalk.h.

◆ uUserRights

UserRights UserAccount::uUserRights

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

Definition at line 2029 of file TeamTalk.h.

◆ nUserData

INT32 UserAccount::nUserData

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

Definition at line 2033 of file TeamTalk.h.

◆ szNote

TTCHAR UserAccount::szNote[TT_STRLEN]

Additional notes about this user.

Definition at line 2035 of file TeamTalk.h.

◆ szInitChannel

TTCHAR UserAccount::szInitChannel[TT_STRLEN]

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
TT_DoJoinChannel()

Definition at line 2040 of file TeamTalk.h.

◆ autoOperatorChannels

INT32 UserAccount::autoOperatorChannels[TT_CHANNELS_OPERATOR_MAX]

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

See also
TT_DoChannelOp()

Definition at line 2044 of file TeamTalk.h.

◆ nAudioCodecBpsLimit

INT32 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 2048 of file TeamTalk.h.

◆ abusePrevent

AbusePrevention 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 2053 of file TeamTalk.h.

◆ szLastModified

TTCHAR UserAccount::szLastModified[TT_STRLEN]

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

Definition at line 2056 of file TeamTalk.h.