TeamTalk 4 C-API DLL  Version 4.5A
UserAccount Struct Reference

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

#include <TeamTalk4.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...
 
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. 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

Member Data Documentation

TTCHAR UserAccount::szUsername[TT_STRLEN]

The account's username.

TTCHAR UserAccount::szPassword[TT_STRLEN]

The account's password.

UserTypes UserAccount::uUserType

A bitmask of the type of user based on UserType.

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.

TTCHAR UserAccount::szNote[TT_STRLEN]

Additional notes about this user.

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()
INT32 UserAccount::autoOperatorChannels[TT_CHANNELS_OPERATOR_MAX]

Channels where this user will automatically become channel operator when joining.

See Also
TT_DoChannelOp()