function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aloysius ParedesAloysius Paredes 

Salesforce Mobile SDK Get Current User ID

I know that there is a way to get the User ID of the currently logged in user using the Salesforce Mobile SDK. But I can't seem to find much documentation on how to do it in React Native. None of the methods here: 
https://developer.salesforce.com/docs/atlas.en-us.noversion.mobile_sdk.meta/mobile_sdk/react_native_ref.htm

have the SFUserAccountManager that seems to be able to get the currently logged in user. 

Is there a specific way to get the currently logged in user when creating a cross platform React Native mobile app with the SF Mobile SDK?
Jalil IrfanJalil Irfan
i took want to know how to fetch user detail on login