Application Creator Q's
-
2005년 9월 23일 금요일 오전 8:41Heyas!
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.

