Command Parameters and Examples


No Action

When no action is submitted on the command line and in Anonymous mode, the eGuideForm action will be initiated. If in Forced Authentication mode, AuthForm is loaded.


Parameter

Parameter Description

None

 


Example

http://www.domainname.com/eGuide/servlet/eGuide


AuthForm

This is the default action when in Forced Authenticated mode. It sets up the initial frames for the login pages and uses Authform.XSL which initiates the action to AuthHeader and AuthBody.


Parameters

Parameters Description

Action=AuthForm

 

User.context=rypxSbuoirAi

A blank User.context that creates a new session


Examples

Forced Authentication mode:

   http://www.domainname.com/eGuide/servlet/eGuide

Only Forced Authentication Mode:

   http://www.domainname.com/eGuide/servlet/eGuide?Action=AuthForm

NOTE:  When creating a theme without frames, remove the links in Authform.XSL to AuthHeader and AuthBody. Because the authentication process loads the Authbody.XSL by default, Authform.XSL and Authbody.XSL should contain the same information.


AuthHeader

This action is called after AuthForm to finish setting up the frames. The Authheader.XSL file is loaded by default.


Parameters

Parameter Description

Action=AuthHeader

 

User.context=rypxSbuoirAi

A blank User.context that creates a new session


Example

Only Forced Authentication mode:

   eGuide?Action=AuthHeader&User.context=rgyadiof


AuthBody

This action is called to set up the main authentication HTML page. It can be accessed when in Anonymous mode using the Login action. The Authbody.XSL file is loaded by default.


Parameters

Parameter Description

Action=AuthBody

 

User.context=rypxSbuoirAi

A blank User.context that creates a new session


Examples

Only Forced Authentication mode:

   eGuide?Action=AuthBody&User.context=rgyadiof

Anonymous mode:

   eGuide?Action=Login&User.context=rgyadiof


Detail.get

These actions display the details of the LDAP entry from a specified directory.


Parameters

Parameter Description

Action=Detail.get

Action

User.dn=cn=name,ou=name2,o=novell

Distinguished Name of entry

Directory.uid=DirectoryName

Ask your eGuide system administrator for this name

Object.uid=USER

The category in which the entry is defined

Optional Parameter Description

User.context=

Session control

stsh=other.xsl

Specify style sheet other than default

RecurseDN=false

Read DN and return info defined in DN


Example

eGuide?User.context=rytuUjkhhkAi&Action=Detail.get&User.dn=cn=userid,ou=org,o=Novell&Directory.uid=Extensive&Object.uid=USER'


DetailEdit

See Detail.get and replace the action with the desired actions. The only difference is the XML document has additional information for these actions.


DetailModify

See Detail.get and replace the action with the desired actions. The only difference is the XML document has additional information for these actions.


DetailUpdate

This action updates the LDAP entry in the directory and returns the results.

NOTE:  The attributes being modified are returned to eGuide with the Key Name of the Attribute and the value. The value is to be created in XML format and should be wrapped with the CDATA tag. If the key word "nochange" is found for the value, then the attribute is ignored and not updated.


Parameters

Parameter Description

Action=DetailUpdate

Action

User.dn=cn=name,ou=name2,o=novell

Distinguished Name of the entry

Directory.uid=DirectoryName

Ask your eGuide system administrator for this name

Object.uid=USER

The category in which the entry is defined

AttributeKeyName=<undefined><value><![CDATA[new value]]</value></undefined>

 

Optional Parameter Description

User.context=

Session control

stsh=other.xsl

Specify style sheet other than default

RecurseDN=false

Replaces DN with user info. Default is True.


Example

<form action="eGuide?&Action=DetailUpdate method="post" > 
<input name=Directory.uid type=hidden value="novell">
<input name="User.context" type="hidden" value="eiadyda">
<input name="Object.uid" type="hidden" value="USER">
<input name="User.dn" type="hidden" value="cn=name,ou=organUnit,o=novell">
<input name="TITLE" type="text" value="<undefined><value> <![CDATA[new value]]>
</value> </undefined>" >
</form>

eGuideForm

The default action when in Anonymous mode or after the authentication process in Forced Authention mode.


Parameters

Parameter Description

Action= eGuideForm

Action

User.context=rypxSbuoirAi

A blank User.context that creates a new session

Optional Parameter Description

stsh=otherform.xsl

Used to specify style sheet other than default


Example

Anonymous mode:

eGuide

or

eGuide?Action=eGuideForm&User.context=rgyadiof&stsh=otherform.xsl


eGuideHeader

This is called from the Eguideform.XSL and sets up the eGuide search categories and attributes.


Parameters

Parameter Description

Action=eGuideHeader

Action

User.context=rypxSbuoirAi

A blank User.context that creates a new session

Search.rows=1

The number of Search rows to display by default

Optional Parameter Description

stsh=otherform.xsl

Used to specify style sheet other than default


Example

eGuide

or

eGuide?Action=eGuideForm&User.context=rgyadiof&stsh=otherform.xsl


eGuide.verifyCredentials

This is used in the authentication process to make an authenticated connection to the directory and verify the users credentials.


Parameters

Parameter Description

Action=eGuide.verifyCredentials

Action

User.context=rypxSbuoirAi

A blank User.context that creates a new session

Value1=

The user's DN to authenticate

Value2=

The password

Optional Parameter Description

RememberUserInfo=true

When true, stores credentials as a cookie in the browser


Example

eGuide?eGuide.verifyCredentials&User.context=rypxSbuoirAi&DN=cn=Admin,o=novell


eGuide.verifyNewPassword

This is used when the password has been determined to be expired and needs to be reset.


Parameters

Parameter Description

Action=eGuide.verifyNewPassword

Action

User.context=rypxSbuoirAi

A blank User.context that creates a new session

OldPassword=

The old password

Value1=

The password

Value2=

The password


Example

eGuide?Action=eGuide.verifyNewPassword&User.context=rypxSbuoirAi&OldPassword=old &Value1=new psswrd&Value2=new psswrd


eGuide.selectContext

This is used in the authentication process when multiple users are found with the same login ID.


Parameters

Parameter Description

Action=eGuide.selectContext

Action

User.context=rypxSbuoirAi

A blank User.context that creates a new session

DN=cn=name,o=container

The selected DN to authenticate


Example

eGuide?eGuide.selectContext&User.context=rypxSbuoirAi&DN=cn=Admin,o=novell


List.get

This is a search request with a specified filter, and the resultant set is a list. The search filter is searched against any or all directories configured in the eGuide Administration Utility. Use the max key to cache list results larger than the value set, then see the next List.get action for cached lists.


Parameters

Parameter Description

Action=list.get

Action

val1=value

Value searching for

attr1=attribute

Attribute key name

crit1=sw

The criteria used to evaluate the value

Object.uid=USER

The search category

Search.attributes=attr1,attr2,attr3,...

The attributes returned from a search

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session

Primary.sortkey=attr1

The first attribute used to determine the sort order of the list

Secondary.sortkey=attr2

The second attribute used to determine the sort order of the list

max=20

The number to display on the browser at any one time; this speeds up the request to the end user

stsh=otherform.xsl

Specifies style sheet other than default


Example

<form action="eGuide?&Action=List.get&Object.uid=USER&User.context=" method="post" > 
<input name="Search.attributes" type="hidden" value="GIVENNAME,LASTNAME,DEPARTMENT">
<input name="Primary.sortkey" type="hidden" value="LASTNAME">
<input name="Secondary.sortkey" type="hidden" value="GIVENNAME">
<select name="crit1">
<option value="co">contains</option>
<option value="eq">equals</option>
<option selected="true" value="sw">starts with</option>
</select>
<select name="attr1">
<option value="GIVENNAME">First Name</option>
<option selected="true" value="LASTNAME">Last Name</option>
</select>
<input size="20" type="text" name="val1">
<input type="Submit">
</form>

List.get (Cached list)

The list action when using max and start parameters will retrieve information from a previously cached list. The end user will see a significant increase in performance by using a cached list. The original list.get request must use the max parameter to cache the results in the users session. Then the start value tells eGuide where to start in the cached list. Use the prev and next values in the XML file to determine what value to start with.


Parameters

Parameter Description

Action=list.get

Action

start=100

The next starting point on the list

max=20

The number to display on the browser at any one time; this speeds up the request to the end user

Optional Parameter Description

stsh=otherform.xsl

Specifies style sheet other than default

User.context=rypxSbuoirAi

A blank User.context that creates a new session


Example

eGuide?Action=list.get&max=20&start=20&User.context=rypxSbuoirAi


List.get (Advanced)

This is a search request with a specified filter, and the resultant set is a list. The difference between the list and advanced list action is that there can be any given number of values and attributes sent in the query to define the search filter. For any given number of values (parameter val1,val2,val3) submitted there must be the same number of attributes (attr1,attr2,attr3) and supporting criteria (crit1,crit2,crit3) submitted. Each set of attributes, criteria and values (attr1,crit1,val1), (attr2,crit2,val2) must be separated by a Boolean value (aoval1).


Parameters

Parameter Description

Action=list.get

Action

val1=valu1&val2=val2&val3=value3

 

attr1=attribute&attr2=attribute&attr3=attribute3

 

crit1=sw&crit2=cq&crit3=sw

 

Object.uid=USER

The search category

Search.attributes=attr1,attr2,attr3,...

The attributes returned from the search

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session

Primary.sortkey=attr1

The first attribute used to determine the sort order of the list

Secondary.sortkey=attr2

The second attribute used to determine the sort order of the list

aoval1=and

For advanced searches when defining more than one value to search on

max=20

Specifies the number to display on the browser at any one time; this speeds up the request to the end user

stsh=otherform.xsl

Specifies style sheet other than default


Login

This is usually called to authenticate when eGuide is in anonymous mode. It starts the authentication process and the Authbody.XSLstylesheet is loaded.


Parameters

Parameter Description

Action=Login

Action

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session


Example

eGuide?Action=Login&User.context=rypxSbuoirAi


OrgChart

This is a combination between the list and details actions. It retrieves the manager information from a specified directory but the subordinates can be retrieved from multiple directories.


Parameters

Parameter Description

Action=Org.Chart

Action

Directory.uid=DirectoryName

 

Manager.dn=cn=userid,o=org,o=novell

 

attr1=Manager

 

crit1=eq

 

val1=cn=userid,o=org,o=novell

 

Search.attributes=GIVENNAME,LASTNAME,ORGCHARTPARENTDN,ORGCHARTISPARENT

 

Object.uid=USER

 

User.dn=cn=userid,ou=org,o=novell

 

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session

stsh=other.xsl

Specifies tyle sheet other than default

RecurseDN=false

Returns User info. Default is true.


Example

eGuide?User.context=rytuUjkhhkAi&Action=Org.Chart&Directory.uid=Extensive&User.dn=cn=nbjensen,ou=eGuide,ou=Demo,o=Novell&Object.uid=USER&Search.attributes=GIVENNAME,INITIALS,LASTNAME,EMAIL,TITLE,ORGCHARTPARENTDN,ORGCHARTISPARENT,&attr1=MANAGER&crit1=eq&Manager.dn=cn=Bgarrett,ou=eGuide,ou=Demo,o=Novell&val1=cn=Bgarrett,ou=eGuide,ou=Demo,o=Novell


OrgChartUpdate

This is used to update the attribute mapped to the key ORCHARTPARENT.


Parameters

Parameter Description

Action=Org.Chart

Action

Directory.uid=DirectoryName

 

Manager.dn=cn=userid,o=org,o=novell

 

attr1=Manager

 

crit1=eq

 

val1=cn=userid,o=org,o=novell

 

Search.attributes=GIVENNAME,LASTNAME,ORGCHARTPARENTDN,ORGCHARTISPARENT

 

Object.uid=USER

 

TargetDN=cn=userid,ou=org,o=novell

User modifying

AttrTargetValue=cn=admin,o=novell

The value we want to change

AttrTargetName=ORGCHARTPARENTDN

The attribute key name to update

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session

stsh=other.xsl

Specifies style sheet other than default

RecurseDN=false

Returns User info. Default is true


Example

See OrgChart , but add TargetDN, AttrTargetValue, and AttrTargetName as parameters.


PasswordModify

This is used to setup the page view to modify the password. The end user will receive a view based on his role. An user administrator (setup in the eGuide Administration Utility) or a user with the role to modify other's passwords are given two input fields. A normal end user is given three.


Parameters

Parameter Description

Action=PasswordModify

Action

User.dn=cn=name,ou=name2,o=novell

Distinguished Name of the entry

Directory.uid=DirectoryName

Ask your eGuide system administrator for this name

Object.uid=USER

The category in which the entry is defined

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session


PasswordUpdate


Parameters

Parameter Description

Action=PasswordUpdate

Action

User.dn=cn=name,ou=name2,o=novell

Distinguished Name of the entry

Directory.uid=DirectoryName

Ask your eGuide system administrator for this name

Object.uid=USER

The category in which the entry is defined

Value1=

The new password

Value2=

The new password

OldPassword=

The old password

Optional Parameter Description

User.context=rypxSbuoirAi

A blank User.context that creates a new session


PhotoModify

This creates the page view to allow the end user to add or remove a photo as well as accept a photo agreement.


Parameters

Parameter Description

Action=PhotoModify

Action

User.dn=cn=name,ou=name2,o=novell

Distinguished Name of the entry

Directory.uid=DirectroyName

Ask your eGuide system administrator for this name

Object.uid=USER

The category in which the entry is defined

Optional Parameter Description

User.context=

Session control

RecurseDN=false

Returns User info. Default is true.

NOTE:  The User.context is used to keep track of the current user's session. When making an initial request, the User.context can be omitted, but any pages to follow must contain the User.context parameter.



  Previous Page: How to View Action Commands