Microsoft KB Archive/304078

= Uses of the Attribute Flow Scripts That Are Included with MMS =

Article ID: 304078

Article Last Modified on 6/17/2005

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q304078



SUMMARY
This article explains the scope of the attribute flow as it relates to the different flow scripts that are included with Microsoft Metadirectory Services (MMS).



Specific Attribute Flow
Specific attribute flow is used for making direct assignments from the MV to the CD and from the CD to the MV. This flow will occur to all connected entries, and disconnected entries will not use this flow script. $cd.telephonenumber = $mv.telephonenumber
 * 1) This is a simple flow of the telephone number from the metaverse to
 * 2) the connected directory.

Advanced Attribute Flow
Advanced attribute flow allows for the application of conditional logic to flow scripts. This flow will occur on all connected objects and will override Specific Flow rules in the case of a collision. Disconnected objects will not use this flow script. If $exists($mv.telephonenumber) then $cd.telephonenumber = $mv.telephonenumber endif
 * 1) Check for the existence of the metaverse telephone number if it is there
 * 2) and then send the metaverse value to the connected directory.

Disconnection Flow Script
The disconnection flow script only runs when the management agent disconnects objects. It will not run when a function (such as $Disconnect or $Disconnect_Specific) is used to disconnect the objects. $cd.telephonenumber = $null
 * 1) The user is gone so null the phone number.

CD Flow Script
The CD flow script runs when objects are disconnected and also have been assigned the msMMS-managedbyprofile = TRUE attribute. This script will only make assignments to the connected directory. $cd.useraccountcontrol = 514 Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
 * 1) If the object is disconnected and has been provisioned by TAMA it will send
 * 2) the useraccountcontrol value of 514 to the AD to disable the user object. #This will generally be useful when the msMMS-TimeToLive attribute is set to
 * 3) something other than 0.

Additional query words: zoomit

Keywords: kbinfo KB304078

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.