// AcctMgmt is used to determine if the user's account is valid. // // Valid flags: Silent, DisallowNullAuthtok func (t *Transaction) AcctMgmt(f Flags) error { t.status = C.pam_acct_mgmt(t.handle, C.int(f)) if t.status != C.PAM_SUCCESS { return t } return nil }
// pam_acctmgmt func (t *Transaction) AcctMgmt(flags int) int { return int(C.pam_acct_mgmt(t.handle, C.int(flags))) }