SelectionListPropName Property

This property specifies the name of a directory property used to store a user's channel selections.

Type

String (VT_BSTR)

Default

None

Remarks

Indicate the directory property in the Membership directory schema defined for users that store their channel selections using this property.  Each project that personalized CDF streams will be used for should have a separate property in the schema. The property must be defined in the schema for the user's data in the container specified by they default Active User Object (AUO) alias.  For example, if the default alias defines the ADs path prefix "LDAP://someserver:1010/o=company/ou=members" and Schema "LDAP://someserver:1010/o=company/ou=admin/cn=schema/cn=Member" then that schema object should define a property that can be used to store channel selections.  Currently, this should be a property of type "DirectoryString" (i.e. UnicodeString) and be multi-valued.

The upshot is that the channel selection list should be accessible via an instance of the Membership.UserObjects class (AUO) under the given IIS virtual server instance.

Example

Set Project = CreateObject("Push.Project")
Project.SelectionListPropName = "prj1ChannelSelectionList"
call Project.Save("Project1")

Within an ASP page, one should be able to do this:

<% Set IDispUserObjects = Server.CreateObject("Membership.UserObjects")
   Set IDispProject = CreateObject("Push.Project")
   IDispProject.Load "Project1"
   List = IDispProject.SelectionListPropName
   TheUsersList = IDispUserObjects.Get(List)
   ' now we have the list

The Active Channel Server feature provides a COM object that handles all of this internally called the CDFGenerator class. ( Push.CDFGenerator.1)

See Also

Class CDFGenerator

Class CDFGenHelper


© 1997-1998 Microsoft Corporation. All rights reserved.