AnsweredAssumed Answered

Getting Current user Id on page component

Question asked by os.cerna on Jun 21, 2017
Latest reply on Jun 22, 2017 by os.cerna

Hello everyone,

Im working on an ADF app which connects to my ECM repository, the purpose of the app is to have a more responsive alternative to consumers so the can view and download documents even on their cellphones, for this i have created a custom page component for each site on my repository, and on the home page i want to display the links for the sites which the current user has access to, but for this i use this api AlfrescoApiService..getInstance().core.sitesApi.getSiteMember(sitename, userId ) and i need to somehow obtain the id of the user that has accessed the app,

Any help would be appreciated,

Thanks a lot