Browse SDKs · iOS
SDKsiOS

Retrieve your profile

Retrieve the signed-in user’s profile with OpenIM iOS SDK.

Copy
[[OIMManager manager] getSelfInfoWithOnSuccess:^(OIMUserInfo *user) {
    [profileStore replaceCurrentUser:user];
} onFailure:nil];

On success, the API returns a complete OIMUserInfo. Common properties include userID, nickname, faceURL, ex, and globalRecvMsgOpt. This query establishes the current snapshot and does not trigger a profile-change delegate.