AccountController
public final class AccountController
Handles loading information about the currently authenticated user
-
Retrieves a user and a company object for the currently authenticated user.
Declaration
Swift
public func getAccountInformation(completionHandler: (currentUser: User?, currentCompany: Company?, requestError: NSError?) -> ())
Parameters
completionHandler
The completion handler to call passing a company and user object if available. This may also be passed an error object where appropriate