CurrentUserData
public struct CurrentUserData : Content
Used to obtain the current user’s ID, username and logged-in status.
Returned by: GET /api/v3/user/whoami
-
The currrent user’s ID.
Declaration
Swift
let userID: UUID
-
The current user’s username.
Declaration
Swift
let username: String
-
Whether the user is currently logged in.
Declaration
Swift
var isLoggedIn: Bool