admUpdateUser

Description

Updates the email, user name, or full name for a given user.

Parameters

Return Type

Boolean

Returns "true" if operation succeeded.

Example

admUpdateUser("jsmith", "john.smith@company.com"); //updates email only //or admUpdateUser("jsmith", "john.smith@company.com", "johnsmith"); //updates email and username //or admUpdateUser("jsmith", "john.smith@company.com", "johnsmith", "John Smith"); //updates email, username, and display name //or admUpdateUser("jsmith", "", "johnsmith", "John Smith"); //updates username and display name only //or admUpdateUser("jsmith", "", "", "John Smith"); //updates display name only //or admUpdateUser("jsmith", "", "johnsmith"); //updates username only

This routine will only work for users in the internal Jira directory.

See also