Ignore:
Timestamp:
04/27/17 00:47:36 (7 years ago)
Author:
nanardon
Message:

Allow sub-object creation when creating object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/man/man8/latmos-accounts.pod

    r1324 r1992  
    139139=back 
    140140 
     141=head1 INPUT FILE 
     142 
     143The input file is a list of attribute and value separate by a semi-colon. 
     144Multi-values attributes must be repeated for each value. 
     145Attributes not listed are left untouched. 
     146 
     147Example: 
     148 
     149    sn: Myname 
     150    givenName: Myfirstname 
     151 
     152Some object have related objects, for example C<user> have multiple C<address> 
     153and C<employment>. It can be usefull to create those object in same time the 
     154main object. 
     155 
     156At creation the related object attributes can given using attribute in form 
     157C<OTYPE.ATTRIBUTE>. 
     158 
     159Example: 
     160 
     161    sn: Myname 
     162    givenName: Myfirstname 
     163    address.streetAddress: 5th Avenue, 123 
     164 
     165Multiple objects of same type can be given a key between C<[]>, this key may 
     166use any letter C<a-z>, C<A-Z> or number C<0-9>. 
     167 
     168    sn: Myname 
     169    givenName: Myfirstname 
     170    address[0].streetAddress: 5th Avenue, 123 
     171    address[aa].streetAddress: 5th Avenue, 123 
     172 
    141173=head1 TOOLS LIST 
    142174 
Note: See TracChangeset for help on using the changeset viewer.