[Solved] Convert Type “String” to type “Name”

[ad_1]

The API documentation of IBM Notes explains that a Name object can only be obtained from the Session. “To create a new Name object, use createName in Session. ” see this page

   Session s = NotesFactory.createSession();
   Name n = s.getUserNameObject();

[ad_2]

solved Convert Type “String” to type “Name”