ChatOnlineUserInfoProviderLogin Method |
Logs in user to chat.
It returns login token which can be used later to re-login user to chat if server looses session.
If user is already logged in, old token is returned. Otherwise it is generated.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 9.0.0
Syntax public static string Login(
int siteID,
int chatUserID,
bool isHidden
)
Parameters
- siteID
- Type: SystemInt32
Site ID - chatUserID
- Type: SystemInt32
Chat user ID - isHidden
- Type: SystemBoolean
If false, this user will be shown in online users on live site. False has higher priority than true.
Return Value
Type:
StringLogin token
See Also