MCPcopy Index your code
hub / github.com/XiaoliChan/LDAPShell / do_enable_account

Method do_enable_account

utils/ldap_shell.py:368–369  ·  view source on GitHub ↗
(self, username)

Source from the content-addressed store, hash-verified

366 self.toggle_account_enable_disable(username, False)
367
368 def do_enable_account(self, username):
369 self.toggle_account_enable_disable(username, True)
370
371 def toggle_account_enable_disable(self, user_name, enable):
372 UF_ACCOUNT_DISABLE = 2

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected