2014-10-16 2 views
0

나는 내 책갈피를 얻고 인기 책갈피를 얻기 위해 IBM SBT의 SDK 작업 루틴하고있는 사용자를 통해 식별됩니다 내 경우에는 앱을 전제 Domino 및 연결 내가 지금 온실을 사용에 상주. 내가 도미노에 대해 인증하고 있지 않다 때문에즐겨 찾기 API getBookmarks (context.getUser() getMail()

context.getUser(). getMail()는 아무 것도 반환하지 않습니다.

어떻게 사용할 수있는 내 북마크를 수집하는 대신 연결에서 userid를 찾으십니까?

답변

1

당신은 전화가 https://greenhouse.lotus.com/sbt/SBTPlayground.nsf/JavaSnippets.xsp#snippet=Social_Profiles_Get_My_Profile

ProfileService connProfSvc = new ProfileService(); 
Profile profile = connProfSvc.getMyProfile(); 
out.println("my UserId "+profile.getUserid()+"<br>"); 

은 다음 백엔드 북마크에 요청을 만들기 위해 ID를 사용할 수 있습니다 ProfileService 할 수 있습니다.
getBookmarks (문자열 ID) <는 -

내가이

도움이되기를 바랍니다 ... 어쨌든 ID를 사용