Previous in Contents Next in Contents

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

Use this property to indicate the directory property in the Membership directory schema defined for users that store their channel selections. 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 the 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" (that is, UnicodeString) and be multivalued.

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, you 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-2000 Microsoft Corporation. All rights reserved.