generator.yml and user attribute value

Summary: hello, i give authentication to some users, they can entry its articles, so i want to know how can i specify inside edit action that user_id field must be taken from getUser()->getAttribute('user_id')...
Bookmark |  Comment |  Forward  |   | 
Comments:
- Comments