Class UserOnlineController
The UserOnlineController class provides Business Layer methods for Users Online.
Inheritance
System.Object
UserOnlineController
Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke.dll
Syntax
public class UserOnlineController : object
Methods
| Improve this Doc View SourceClearUserList()
Clears the cached Users Online Information.
Declaration
public void ClearUserList()
GetOnlineTimeWindow()
Gets the Online time window.
Declaration
public int GetOnlineTimeWindow()
Returns
Type | Description |
---|---|
System.Int32 | The window to use in minutes when determining if the user is online. |
GetUserList()
Gets the cached Users Online Information.
Declaration
public Hashtable GetUserList()
Returns
Type | Description |
---|---|
Hashtable | A |
IsEnabled()
Gets whether the Users Online functionality is enabled.
Declaration
public bool IsEnabled()
Returns
Type | Description |
---|---|
System.Boolean | true if the Users Online functionality is enabled, otherwise false. |
IsUserOnline(UserInfo)
Determines whether a User is online.
Declaration
public bool IsUserOnline(UserInfo user)
Parameters
Type | Name | Description |
---|---|---|
UserInfo | user |
Returns
Type | Description |
---|---|
System.Boolean | true if the user is online, otherwise false. |
SetUserList(Hashtable)
Sets the cached Users Online Information.
Declaration
public void SetUserList(Hashtable userList)
Parameters
Type | Name | Description |
---|---|---|
Hashtable | userList |
TrackUsers()
Tracks an online User.
Declaration
public void TrackUsers()
UpdateUsersOnline()
Update the Users Online information.
Declaration
public void UpdateUsersOnline()