Command Usage: samadmin v8_1_5
samadmin update person

Just having some fun...
Command Description:

Update information for an existing person in the SAM database.


Usage:
       samadmin update person [--options] [-flags]
       samadmin modify person [--options] [-flags]

Where:


  --options:
	     --addGridSubjects=<value> # comma-separated list of grid subjects to be added for this person
	       --addWorkGroups=<value> # comma-separated list of work group names to be added for this person
	             --connect=<value> # oracle username/password for connecting to this database
	    --corbaCallTimeout=<value> # time in seconds for CORBA method calls to return before timing out (default: 0; zero implies no timeout)
	        --emailAddress=<value> # the email address to be registered for this person
	           --firstName=<value> # the first name to be registered for this person
	            --lastName=<value> # the last name to be registered for this person
	         --newUserName=<value> # the new username to be registered for this person
	            --personId=<value> # the DB ID number of the person to be modified
	        --personStatus=<value> # the status to be registered for this person
	  --removeGridSubjects=<value> # comma-separated list of grid subjects to be removed for this person
	    --removeWorkGroups=<value> # comma-separated list of work group names to be removed for this person
	       --retryInterval=<value> # retry interval base in seconds; will multiply this base times retryCount (default: 5)
	         --retryJitter=<value> # retry jitter, random jitter added to base retry interval times retryCount (default: 5)
	       --retryMaxCount=<value> # number of times to retry CORBA calls for retriable exceptions (default: 25; zero implies no retries)
	                 --uid=<value> # the FNAL UID for this person, if applicable
	            --userName=<value> # the registered username of the person to be modified

   -flags:
	                            -c # automatically close all servants after each method call
	                            -d # debug mode
	                            -s # retrySilently mode (do not issue messages to stderr on proxy retries)
	                            -t # time-it mode (print additional info on timings)
	                            -v # verbose mode

Must specify at least one of:
	--personId=<value> OR --userName=<value> 

Mutually Exclusive Options:
	--personId=<value> OR --userName=<value> 

Required Data Types:
	               addGridSubjects : SamStringList 
	                 addWorkGroups : SamStringList 
	                       connect : string 
	              corbaCallTimeout : int 
	                  emailAddress : string 
	                     firstName : string 
	                      lastName : string 
	                   newUserName : string 
	                      personId : long 
	                  personStatus : string 
	            removeGridSubjects : SamStringList 
	              removeWorkGroups : SamStringList 
	                 retryInterval : int 
	                   retryJitter : int 
	                 retryMaxCount : int 
	                           uid : string 
	                      userName : string 

You may omit "-c" if the $SAM_PYAPI_AUTO_CLOSE_SERVANTS environmental variable is set.
You may omit "--connect=<value>" if the $SAM_ORACLE_CONNECT environmental variable is set.
You may omit "--corbaCallTimeout=<value>" if the $SAM_PYAPI_CORBA_CALL_TIMEOUT environmental variable is set.
You may omit "--retryInterval=<value>" if the $SAM_PYAPI_RETRY_INTERVAL environmental variable is set.
You may omit "--retryJitter=<value>" if the $SAM_PYAPI_RETRY_JITTER environmental variable is set.
You may omit "--retryMaxCount=<value>" if the $SAM_PYAPI_RETRY_MAX_COUNT environmental variable is set.
You may omit "-s" if the $SAM_PYAPI_RETRY_SILENTLY environmental variable is set.

UNIX ExitStatus:
	             Success :   0
	Unhandled exceptions : 127


See Also: