Changes for page XWiki Users
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,7 +10,9 @@ 10 10 11 11 #set($userDoc = $xwiki.getDocument("XWiki.bougault")) 12 12 #set($obj = $userDoc.getObject("XWiki.XWikiUsers")) 13 -$obj.set("company", "zaza") 13 +$obj.set("email", "zaza") 14 +#set($lastName = $obj.get("last_name").substring(0,1).toUpperCase()) 15 +$obj.set("last_name", $lastName) 14 14 $userDoc.save() 15 15 16 16 ##$userDoc.setValue("email", "zaza")