Manage Users

#requireResource("confluence.web.resources:ajs") #requireResource("confluence.admin.user:browseusers") #requireResource("confluence.web.resources:aui-forms")
#parse ("/template/includes/actionerrors.vm") #set($fielderrors = $action.getFieldErrors()) #if( $permissionCheckDispatcher.isPermitted("/admin/users/createuser.action") )
$action.getText('heading.create.user')
#if($action.isLicensedToAddMoreUsers()) #form_xsrfToken()
$action.getText('heading.create.user') #bodytag( "TextField" "label='username.name'" "id=username" "name='username'" "theme='aui'") #param("description" "$action.getText('username.lowercase')") #end #tag( "TextField" "label='fullname.name'" "id=fullname" "name='fullname'" "theme='aui'") #tag( "Password" "label='password.name'" "id=password" "name='password'" "theme='aui'") #tag( "Password" "label='confirm.password'" "id=confirm" "name='confirm'" "theme='aui'") #tag( "TextField" "label='email.name.withdash'" "id=email" "name='email'" "theme='aui'")
#else
$action.getLicenseError()
#end
$action.getText('find.user')
#bodytag( "Component" "label='find.user'" "id=searchTerm" "name='searchTerm'" "theme='aui'" "template='text-inline.vm'")#end $action.getText('advanced.word')
$action.getText('show.all.users')
$action.getText('find.user')
#tag( "TextField" "label='username.name'" "id=usernameTerm" "name='usernameTerm'" "theme='aui'" "template='text-inline.vm'" ) $action.getText('simple.word')
#tag( "TextField" "label='fullname.name'" "id=fullnameTerm" "name='fullnameTerm'" "theme='aui'" ) #tag( "TextField" "label='email.name.withdash'" "id=emailTerm" "name='emailTerm'" "theme='aui'" )
$action.getText('show.all.users')
#set($users = $action.paginationSupport.page) #set ($filter = "") #if ($emailPattern) #set ($filter = "emailPattern=$emailPattern") #elseif ($groupName) #set ($filter = "groupName=$groupName") #end #if($users && ($stringUtils.isNotEmpty($usernameTerm) || $stringUtils.isNotEmpty($fullnameTerm) || $stringUtils.isNotEmpty($emailTerm) || $stringUtils.isNotEmpty($searchTerm) )) #if( $users.isEmpty()) $action.getText("there.are.no.users") #else #set ($paginationUrl="?searchTerm=$!{searchTerm}&usernameTerm=$!{usernameTerm}&fullnameTerm=$!{fullnameTerm}&emailTerm=$!{emailTerm}&resultsPerPage=$!{resultsPerPage}&advanced=$!{advanced}&") #if ($action.paginationSupport.items) #entityPagination($action.paginationSupport $paginationUrl) #set ($currentIndex = $action.paginationSupport.startIndex)

##### $action.getText("show.word"):

#foreach ($item in $resultsPerPageOptions) #if ($item.key == $resultsPerPage)
- $!{item.key}
#else
- $!{item.key}
#end #end

#end

$action.getText("user.name") | $action.getText("fullname.name") | $action.getText("email.name.withdash")
--- | --- | ---
#foreach( $user in $action.paginationSupport.page.iterator())
#if ($action.viewAll && $userAccessor.isDeactivated($user)) * $generalUtil.htmlEncode($user.name) #else | $generalUtil.htmlEncode($user.name) #end | $!webwork.htmlEncode($user.fullName) | $!webwork.htmlEncode($user.email)
#end

#if ($action.paginationSupport.items) #entityPagination($action.paginationSupport $paginationUrl) #end #end #end
#parse("/breadcrumbs.vm")