Availability
This routine is available since katl-commons 2.5.18 (JIRA 5.x) / 2.6.10 (JIRA 6.x).
Syntax:
admDeactivateUser(username)
Description:
De-activates a user (sets its active flag to false or removes it from all groups associated to global login permissions).Parameters:
Parameter name | Type | Required | Description |
---|---|---|---|
username | String | Yes | The username or key |
Return type:
boolean
true if operation succeeded, false otherwise
Example:
admDeactivateUser("testuser");
See Also:
-
-
addIssuesToSprint (Power Scripts for Jira Cloud)
-
userHasAccessToComment (Power Scripts for Jira Cloud)
-
usersInGroups (Power Scripts for Jira Cloud)
-
-
-
-
-
-
-
-
userInGroup (Simple Issue Language™)
-
-
-
-
-
-
-
-
-
isUserInRole (Simple Issue Language™)
-
isAnyUserAuthenticated (Simple Issue Language™)
-
-
-
userHasAccessToComment (Simple Issue Language™)
-
-
-
-
-
admRemoveUserFromProjectRole (Simple Issue Language™)
-
-
-
admAddUserToProjectRole (Simple Issue Language™)
-
-
-
-
-
-
-
-
userHasSoftwareAccess (Simple Issue Language™)
-
userHasServiceDeskAccess (Simple Issue Language™)
-
userHasCoreAccess (Simple Issue Language™)