Shoutbox

How to get groups of the current login - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: How to get groups of the current login (/showthread.php?tid=77688)

How to get groups of the current login by dansam100 on 09-22-2007 at 09:59 AM

I am trying to get the group names of the messenger user from a script.
Example: if dsfd@hotmail.com logs in and has a group called "aaa" with friends there. I want to get the name of the group such that it is associated with the friends in that group.

Is there a way to just get the names of these groups?


RE: How to get groups of the current login by markee on 09-22-2007 at 10:05 AM

You can't, to the best of my knowledge there has been no good and reliable way of doing this with WLM to date and hence why Patchou has not implemented such a feature with anything in MP!L.  I'm sorry.


RE: How to get groups of the current login by dansam100 on 09-22-2007 at 10:10 AM

thank you very much for the prompt response...

I can happily forget about doing that for now :)

thanks again


btw, sorry

what about nicknames? sorr
RE: How to get groups of the current login by Matti on 09-22-2007 at 11:41 AM

You can get the nickname of a contact based on his/her e-mail address.

code:
var Nickname = Messenger.MyContacts.GetContact("someone@hotmail.com").Name
This requires that the contact is in the contact list. However, you should be aware that:
quote:
Originally posted by Plus! Live Scripting Documentation
This property returns the name of the contact as published by the contact. It does not return the eventual nickname associated with the contact.
;)
RE: How to get groups of the current login by Spunky on 09-22-2007 at 01:13 PM

quote:
Originally posted by Mattike
You can get the nickname of a contact based on his/her e-mail address.

Thats their display name... I think they might mean the custom nicknames stored in WLM
RE: How to get groups of the current login by markee on 09-22-2007 at 01:56 PM

quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by Mattike
You can get the nickname of a contact based on his/her e-mail address.

Thats their display name... I think they might mean the custom nicknames stored in WLM
Which is subject to the same limitation as groups at this current point in time to the best of my knowledge.
RE: How to get groups of the current login by dansam100 on 09-23-2007 at 02:02 AM

I see...very useful information. I had hoped i could get the custom names but its all good.

Thanks for your prompt responses :D.