Skip to main content

getLoginUserID

Feature Introduction

Description

Retrieve the userID of the currently logged-in user.

Note

Ensure to call this interface after a successful login callback.

Function Prototype

- (NSString *)getLoginUserID;

Input Parameters

None

Return Value

Parameter NameTypeDescription
NSStringuserIDUser ID

Code Example


NSString *userID = [OIMManager.manager getLoginUserID];