src/keymanagement.h
branchENGINE-293
changeset 2219 99b05a2f117e
parent 2129 fd3108a623c5
child 2308 b7ef1c9005ae
     1.1 --- a/src/keymanagement.h	Thu Oct 26 17:32:53 2017 +0200
     1.2 +++ b/src/keymanagement.h	Fri Oct 27 20:02:41 2017 +0200
     1.3 @@ -35,12 +35,16 @@
     1.4      );
     1.5  
     1.6  
     1.7 -// myself() - ensures that the own identity is being complete
     1.8 +// myself() - ensures that an own identity is complete
     1.9  //
    1.10  //  parameters:
    1.11  //      session (in)        session to use
    1.12  //      identity (inout)    identity of local user
    1.13 -//                          at least .address, .username, .user_id must be set
    1.14 +//                          at least .address must be set.
    1.15 +//                          if no .user_id is set, AND the DB doesn't contain
    1.16 +//                          a user_id, PEP_OWN_USERID will be used.
    1.17 +//                          if no .username is set and none is in the DB,
    1.18 +//                          username will be set to "Anonymous"
    1.19  //
    1.20  //  return value:
    1.21  //      PEP_STATUS_OK if identity could be completed or was already complete,