Skip to main content

getLoginUserID

Description

info

Get the userID of the currently logged-in user.

Note

Ensure this API is called after a successful login callback.

Function Prototype

- (NSString *)getLoginUserID;

Input Parameters

None

Return Result

Parameter NameParameter TypeDescription
NSStringuserIDUser ID

Code Example


NSString *userID = [OIMManager.manager getLoginUserID];