~smoser/euca2ools/fix-make-clean

« back to all changes in this revision

Viewing changes to euca2ools/commands/euare/updateuser.py

  • Committer: Ye Wen
  • Date: 2011-11-11 21:54:11 UTC
  • Revision ID: wenye@eucalyptus.com-20111111215411-ij2ornzbot2udx8l
Enable display and modify euca-specific user attribute.

Including: registration status, enabled, password expiration

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        long_name='enabled',
70
70
        ptype='string',
71
71
        optional=True,
72
 
        doc=""" 'true' if to set user to be enabled. Otherwise 'false'. """ ,
 
72
        doc=""" [Eucalyptus extension] 'true' if to set user to be enabled. Otherwise 'false'. """ ,
 
73
        ), Param(
 
74
        name='RegStatus',
 
75
        short_name=None,
 
76
        long_name='reg-status',
 
77
        ptype='string',
 
78
        optional=True,
 
79
        doc=""" [Eucalyptus extension] New registration status for user. Pick one from REGISTERED, APPROVED or CONFIRMED (use any case combination as you want). Only CONFIRMED user is valid to access the system. """ ,
 
80
        ), Param(
 
81
        name='PasswordExpiration',
 
82
        short_name=None,
 
83
        long_name='pwd-expires',
 
84
        ptype='string',
 
85
        optional=True,
 
86
        doc=""" [Eucalyptus extension] New password expiration date. Use ISO8601 format. """ ,
73
87
        ), Param(
74
88
        name='DelegateAccount',
75
89
        short_name=None,