diff --git a/modules/core/docs/authproc_attributecopy.md b/modules/core/docs/authproc_attributecopy.md index 37c99eaec11990186613e799bad6af4c8587c777..6f663d395006efc064c450ff6a748dd2337f7216 100644 --- a/modules/core/docs/authproc_attributecopy.md +++ b/modules/core/docs/authproc_attributecopy.md @@ -1,13 +1,13 @@ `core:AttributeCopy` =================== -Filter that renames attributes. +Filter that copies attributes. Examples -------- -Copy a single attribute (user's uid will be copied to the user's username): +Copy a single attribute (user's `uid` will be copied to the user's `username`): 'authproc' => array( 50 => array( @@ -16,3 +16,11 @@ Copy a single attribute (user's uid will be copied to the user's username): ), ), +Copy a single attribute to more then one attribute (user's `uid` will be copied to the user's `username` and to `urn:mace:dir:attribute-def:uid`) + + 'authproc' => array( + 50 => array( + 'class' => 'core:AttributeCopy', + 'uid' => array('username', 'urn:mace:dir:attribute-def:uid'), + ), + ),