Sun Java System Calendar Server 6 2005Q4 Administration Guide

Syntax


csattribute [-q|-v] 
             -a attribute=value 
            [-t resource | user]
            [-d domain] 
            add target

csattribute [-q|-v] 
             -a attribute[=value] 
            [-t resource | user]
            [-d domain] 
            delete target

csattribute [-q | -v] 
            [-t resource | user] 
            [-d domain] 
            list target

The following table describes the commands available for csattribute.

Table D–2 csattribute Utility Commands

Command  

Description  

add target

Adds an LDAP attribute and value to a specified target (user or resource object). 

list target

Lists the attributes of a target object. 

delete target

Deletes an attribute from a target. 

version

Displays the version of the utility. 

The following table describes the csattribute utility command options.

Table D–3 csattribute Utility Command Options

Option 

Description  

-v

Run in verbose mode: Display all available information about the command being performed. Default is off. 

-q

Run in quiet mode: 

  • Display no information if the operation is successful (errors, if they occur, are displayed).

  • Suppress confirmation prompting for dangerous commands.

    Default is off.

-a attribute =value

or 

-a attribute [=value ]

An LDAP attribute and value: 

  • attribute is required when using the -a option.

  • value is required when the -a option is used with the add command, but it is optional when the -a option is used with the delete and list commands.

-t user | resource

Type of target (user or resource object). Default is user. 

[-d domain]

Specifies the name of a hosted (virtual) domain. Default is taken from the service.defaultdomain parameter in the ics.conf file.