Changeset 337

Show
Ignore:
Timestamp:
09/04/06 14:07:20 (2 years ago)
Author:
ogawa
Message:

Support login method by using user_id.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cybozu2ical/trunk/config.yaml.sample

    r328 r337  
    22calname: Your Calendar Name 
    33username: user 
     4#userid: XX 
    45password: pass 
    56time_zone: Asia/Tokyo 
  • cybozu2ical/trunk/cybozu2ical

    r330 r337  
    1818use Getopt::Long; 
    1919 
    20 our $VERSION = '0.05'; 
     20our $VERSION = '0.06'; 
    2121 
    2222my %opt = (conf => 'config.yaml'); 
     
    3131    _System => 'login', 
    3232    _Login => '1', 
    33     _Account => $cfg->{username}, 
    34     Password => $cfg->{password}, 
     33    defined $cfg->{username} ? (_Account => $cfg->{username}): (), 
     34    defined $cfg->{userid} ? (_Id => $cfg->{userid}): (), 
     35    Password => $cfg->{password} || '', 
    3536    'csv' => 1, 
    3637    'notimecard' => 1, 
     
    213214Set the URL of your Cybozu Office 6. 
    214215 
    215 =item username, password 
    216  
    217 Set your username and password for Cybozu Office 6. 
     216=item username, userid 
     217 
     218Set your username or userid for Cybozu Office 6. 
     219 
     220=item password 
     221 
     222Set your password for Cybozu Office 6. 
    218223 
    219224=item time_zone