| Main Page User Management SamplesThis Readme explains how to add new attributes to the User so that
those new attributes can be managed via the user page in Access
Manager. There are 2 ways to achieve this. You can modify the existing
amUser.xmlto add your new attributes, or group the new attributes
into a service and import the new service to Access Manager.   I. Add new attributes to the User by creating a new serviceThe following procedures explain
how to add new attributes to the User by creating a new service. The
sample service in this example contains 4 user attributes. 
    Import the new service sampleMailServerServiceto Access Manager
	Solaris:
	<IS_install>/SUNWam/bin/amadmin
--runasdn uid=amAdmin,ou=People,<default_org>,<root_suffix>
--password <password> --schema sampleMailServerService.xmlWindows2000:
	<IS_install>\bin\amadmin --runasdn
uid=amAdmin,ou=People,<default_org>,<root_suffix>
--password <password> --schema sampleMailServerService.xmlCopy the properties file sampleMailServerService.propertiesto<IS_install>/SUNWam/locale(for Windows2000:<IS_install>\locale).Restart Access Manager.
    Login to Access Manager Administration Console and register the new
	sample service "Sample Mail Server Service" to the
	organization where you want users to have the new attributes.
    To manage the new attributes, assign the sample service "Sample
	Mail Server Service" to the users. Now you should be able to
	manage the new attributes under the user page.
   II. Add new attributes to the User by modifying the amUser.xmlThe following procedures explain
how to add new attributes to the User by modifying the amUser.xmlfile. 
    Add the following new attribute to the User subschemain<IS_install>/SUNWam/config/xml/amUser.xml(For Windows:<IS_install>\config\xml\amUser.xml).<AttributeSchema
    name="maildeliveryoption" 
    type="single" 
    syntax="string" 
    any="display"
    i18nKey="u150"
    />Add the i18n tag to the file
	<IS_install>/SUNWam/locale/amUser.properties(For Windows:<IS_install>\locale\amUser.properties).u150=Delivery OptionRemove the service "iPlanetAMUserService"usingamadmin.
	Solaris:
	<IS_install>/SUNWam/bin/amadmin
--runasdn uid=amAdmin,ou=People,<default_org>,<root_suffix>
--password <password> --deleteservice iPlanetAMUserServiceWindows2000:
	<IS_install>\bin\amadmin --runasdn
uid=amAdmin,ou=People,<default_org>,<root_suffix>
--password <password> --deleteservice iPlanetAMUserServiceReload the service.
	
	Solaris:
	<IS_install>/SUNWam/bin/amadmin
--runasdn uid=amAdmin,ou=People,<default_org>,<root_suffix>
--password <password> --schema amUser.xmlWindows2000:
	<IS_install>\bin\amadmin --runasdn
uid=amAdmin,ou=People,<default_org>,<root_suffix>
--password <password> --schema amUser.xmlUsing Directory Server Console, modify the entry dn:"ou=BasicUser,ou=CreationTemplates,ou=templates,ou=default,ou=GlobalConfig,ou=1.0,ou=DAI,ou=services,<root_suffix>"by adding the value"required=objectClass=mailrecipient"to
    the attributeiplanetkeyvalue.Restart Access Manager.
    Now you should be able to see the new attribute under the user profile.
 |