Don't know if navigator.userProfile stuff is in Dynapi, but it would be cool
to add...
navigator.userProfile is _supposed_ to give you access to the user's vCard
info (with his permission of course), wich is really usefull to pre-fill
forms. At a bare minimum people who use Outlook have their name and email in
the vCard. Now here's the crunch, has anybody got this darn thing to work!?
It only seems to work on IE6beta, when it's supposed to work on IE4+. I've
been to many [respectable] tutorial sites, MSDN, and looked it up in
Goodman's book, and none mention the fact that "it don't work". Has anybody
dabbled in this? Am I doing something stupidly wrong?
p=navigator.userProfile;
if(p){
r1='vcard.jobtitle';
p.clearRequest();
p.addReadRequest(r1);
p.doReadRequest(3,'Sposh');
// request codes:
// 0 Used for system administration.
// 1 Used for research and product development.
// 2 Used for completion and support of the current transaction.
// 3 Used to customize the content and design of a site.
// 4 Used to improve the content of a site that includes advertisements.
// ...
// 12 Disclosed to others for any other purpose.
if(p.getAttribute(r1)){alert(p.getAttribute(r1));}
p.clearRequest();
}
--
Joshua Hewitt <[EMAIL PROTECTED]>
Software/Design integration engineer
iSOCO (Intelligent Software Components, S.A.) - http://www.isoco.com/
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help