Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Multivalued Attributes
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th April 19:40
ray maczÈÆœv+ºË¢{&‰Ê貇ír‰
External User
 
Posts: 1
Default Multivalued Attributes



I am trying to create a script that will create contacts in my Exchange
organization. I want to set "Message Restrictions" to accept messages "Only
from:". I want to add two different groups here. The problem is only the
second group specified in the script gets added:

objuser.put "dLMemSubmitPerms","cn=this group,ou=distribution
groups,dc=anydomain,dc=com"
objuser.putex ADS_PROPERTY_APPEND, "dLMemSubmitPerms", Array("cn=that
group,ou=distribution groups,dc=anydomain,dc=com")
objuser.put "m***chHideFromAddressLists", TRUE
objuser.SetInfo

I have tried with putex in both lines and without. Only the second attribute
value gets added. Any help would be appreciated.

Thanks
Ray
  Reply With Quote


  sponsored links


2 20th April 19:40
ray maczÈÆœv+ºË¢{&‰Ê貇ír‰
External User
 
Posts: 1
Default Multivalued Attributes



I am trying to create a script that will create contacts in my Exchange
organization. I want to set "Message Restrictions" to accept messages "Only
from:". I want to add two different groups here. The problem is only the
second group specified in the script gets added:

objuser.put "dLMemSubmitPerms","cn=this group,ou=distribution
groups,dc=anydomain,dc=com"
objuser.putex ADS_PROPERTY_APPEND, "dLMemSubmitPerms", Array("cn=that
group,ou=distribution groups,dc=anydomain,dc=com")
objuser.put "m***chHideFromAddressLists", TRUE
objuser.SetInfo

I have tried with putex in both lines and without. Only the second attribute
value gets added. Any help would be appreciated.

Thanks
Ray
  Reply With Quote


  sponsored links


3 30th April 05:26
jeffrey lathrop%çß­ì‹jØk¢—b±Ë¬²*²hœ®‹(~×(
External User
 
Posts: 1
Default Multivalued Attributes


You are missing your quotes around the entries
Array("cn=that group,ou=distribution groups,dc=anydomain,dc=com") Your code

Array("cn=that group","ou=distribution groups,dc=anydomain,dc=com") corrected

Happens to me all the time.

Hope this helps
Jeff
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666