Skip to Main Content
Categories Management
Created by Guest
Created on May 5, 2022

Automate user licenses and multi user removal

Currently the only way to remove users licenses from K2 management is selecting one by one, the idea is to have a feature of selecting multi users to be removed at once.
Also as the users should be removed from AD, that should sync with the K2 users licenses to be removed automatically.
  • Attach files
  • Guest
    Reply
    |
    Sep 8, 2022
    We've automated this by using the "Licensed User" smart object's Delete method. You can get users from the K2 database here: K2.HostServer.SecurityCredentialCache. The CredentialID column is the value you need for the parameter. You just have to be careful not to remove accounts like your service accounts.