-
Notifications
You must be signed in to change notification settings - Fork 20
Retrieving Viewers
AnkhHeart edited this page Feb 25, 2018
·
1 revision
List<string> GetViewerList()result = Parent.GetViewerList()List<string> GetActiveUsers()result = Parent.GetActiveUsers()string GetRandomActiveUser()result = Parent.GetRandomActiveUser()string GetDisplayName(string userId)result = Parent.GetDisplayName(data.User)PythonDictionary<string userid,string username> GetDisplayNames(List<string>
userIds)# Import List from .NET at the top of your page
from System.Collections.Generic import List
mylist = List[str](){
'ankhheart',
'momo',
'castorr91',
'must13',
'wellbrained'
}
result = Parent.GetDisplayNames(mylist)