Skip to main content

system.kanoa.security.deleteUser(userName)

Deletes a user from the userSource and the sec.user table. SQL Cascade will remove any user asset roles for this user.


Parameters

userName String


Returns

success Boolean
msg String # of records deleted or error message


Example

success, msg = system.kanoa.security.deleteUser('johnDoe')