ifUserInfo
Interface for retrieving the currently active user profile
Available since Roku OS 16.0.
Implemented by
| Name | Description |
|---|---|
| roUserInfo | The roUserInfo component provides access to the current active profile snapshot |
Supported methods
GetCurrentProfile() as Object
Description
Returns an roProfile object representing a snapshot of the currently active profile.
Because the object is a snapshot, query it again rather than caching the values it returns; a customer can switch profiles between queries.
Return Value
An roProfile object. This function does not return invalid.
Example
userInfo = CreateObject("roUserInfo")
if userInfo <> invalid
profile = userInfo.GetCurrentProfile()
end ifUpdated about 2 hours ago
Did this page help you?