defining an anonymous user desktop in XML

I'm trying to define my basic portal organization and corresponding portal settings in an XML file and while I can get most of it done and working, I'm not sure how I can define the desktop of an anonymous user.

I've been look at the docs and the amAdmin.dtd and at this article:

http://developers.sun.com/prodtech/portalserver/reference/techart/admin.html

I'm able to define the desktop for an organization with the ModifyServiceTemplate element, but that's not a valid sub-element for the UserRequests element. Anyone know of a way to do this?

I'm using Portal Server 7, btw.

[614 byte] By [beejaymurphy1a] at [2007-11-26 12:19:59]
# 1

You must specify the anonymous user's desktop type by modifying the LDAP attribute directly. This is how.

<PeopleContainerRequests DN="ou=People,o=ExampleOrg,dc=example,dc=com">

<!-- Create an Authless Anonymous User for the organization -->

<CreateUser createDN="authlessanonymous_example_org">

<AttributeValuePair>

<Attribute name="givenname" />

<Value>authlessanonymous_example_org</Value>

</AttributeValuePair>

<AttributeValuePair>

<Attribute name="sn" />

<Value>authlessanonymous_example_org</Value>

</AttributeValuePair>

<AttributeValuePair>

<Attribute name="cn" />

<Value>authlessanonymous_example_org</Value>

</AttributeValuePair>

<AttributeValuePair>

<Attribute name="userpassword" />

<Value>authlessanonymous_example_org</Value>

</AttributeValuePair>

<!-- Set the Desktop Type -->

<AttributeValuePair>

<Attribute name="sunPortalportal1DesktopType"/>

<Value>example_org_anonymous,example_org</Value>

</AttributeValuePair>

</CreateUser>

</PeopleContainerRequests>

- Jim

jimfauta at 2007-7-7 15:09:25 > top of Java-index,Archived Forums,Socket Programming...
# 2
Excellent! Thanks for the reply!
beejaymurphy1a at 2007-7-7 15:09:25 > top of Java-index,Archived Forums,Socket Programming...