Subuser
public struct Subuser : Codable
                The Subuser struct represents a subuser on a parent account.
- 
                  
                  
The unique ID of the subuser account.
Declaration
Swift
public let id: Int - 
                  
                  
The subuser’s username.
Declaration
Swift
public let username: String - 
                  
                  
The email address on the subuser’s profile.
Declaration
Swift
public let email: String - 
                  
                  
A boolean indicating if the subuser is disabled or not.
Declaration
Swift
public let disabled: Bool 
- 
                  
                  
Initializes the struct with an ID, username, email, and
disabled
flag.Declaration
Swift
public init(id: Int, username: String, email: String, disabled: Bool)Parameters
idThe unique ID of the subuser account.
usernameThe subuser’s username.
emailThe email address on the subuser’s profile.
disabledA boolean indicating if the subuser is disabled or not.
 
View on GitHub
        Subuser Structure Reference