9669714 Absent Member.
Absent Member.
1476 views

Disable Logins Code Note: This is not Expiration Date....

I was able to successfully create a process to DISABLE LOGINS rather then
Expire Accounts Here is a QUICK Snipped


I am useing VS 2005

I Added a Refference for GWCMB1.DLL (AdminTypeLibrary)


Dim objGWSystem As New AdminTypeLibrary.System

Dim objGWUsers As AdminTypeLibrary.IADUsers

Dim objGWUser3 As AdminTypeLibrary.IADUser3

objGWSystem.ConnectByDN("Domain")

objGWUsers = objGWSystem.Users

objGWUser3 = objGWUsers.Item("testuser","PONAME","DOMAINNAME") 'Note
testuser is the samaccountid

objGWUser3.DisableLogin = True

objGWUser3.Commit()





Grantted I am useing Groupwise 7.0.3 so I haven't backward tested this but
for those that may be intrested.


Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.