Missing return values in c_GetUser
-
- Posts: 37
- Joined: Mon Feb 09, 2015 8:50 pm
Missing return values in c_GetUser
Missing name of TOTP enable and TOTP secret code variable in RETURN VALUE for c_GetUser.
-
- Site Admin
- Posts: 1987
- Joined: Tue Sep 29, 2009 6:09 am
Re: Missing return values in c_GetUser
I guess you meant the document is not updated, you can print out all the user attributes via: var_dump(c_GetUser("DomainName", "UserName"))
Code: Select all
local user = c_GetUser("DomainName", "UserName")
local enable_two_factor = user.enable_two_factor
local two_factor_code = user.two_factor_code