Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

잠김 Application Creator Q's

  • 2005년 9월 23일 금요일 오전 8:41
     
     
    Heyas!

    I was just wondering if there was anyway to detect which user created (started) the application via javascript? And if it was possible to get the email adresses of the users using the application?

    Thx
     - Pepper

모든 응답

  • 2005년 9월 23일 금요일 오후 2:34
     
     답변됨
    in the documentation at: messengerp2p.chm::/techref/objectmodel/objects/users/properties/Inviter.htm


    if (window.external.users.inviter == window.external.users.me) {
    document.write("I am the Inviter."); } else {
    document.write("I am not the Inviter.");
    }

     

  • 2005년 9월 23일 금요일 오후 11:58
     
     답변됨

    You can grab the e-mail address by using the User.EMail property.

    Ex.
    var myUsers = window.external.Users;
    var myLocalUser = myUsers.Me;
    document.write( myLocalUser.EMail );

    There's more information in the documentation and you will need the PassportSiteID flag to do it.