-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you create new users? #206
Comments
Hi @marcinpolanski, there is a draft PR for this but not yet ready to be include (need some change @CedricMoreau !) |
Awesome! |
No really ETA for this feature, need some (re)work before merge... But you can already try if you want ! |
how do I try it out? |
Hi you need to use local.ps1 from this branch #206 (comment) (you can copy the file and replace on PowerFGT moduler folder and need to import-module with -force) |
is there an option to create a remote radius user? |
Yes using Add-FGTLocalUser -radius XXXX -... with XXXX the name of RADIUS server (on config user radius) |
awesome thanks! Got it to work. Is there an option to add a user to a user group? |
No yet but you can look what you make for Add Member on Address Groups ( https://github.com/FortiPower/PowerFGT/blob/master/PowerFGT/Public/cmdb/firewall/addressgroup.ps1#L105) it is the same fro User Group using PUT call with uri api/v2/cmdb/user/group/XXXX (where XXXX is the group name) |
any update on this? |
Work in progress... it is now possible to add User Local (password) (Thanks @CedricMoreau and soon User LDAP (#259) (@CedricMoreau) and User Group (#261) but also need to release a new release... (before end of year i hope...) |
You need to remove [ValidateScript...] line and it will be work it is planned to add on #261 |
Yes sorry... ignore that, I made it work! |
Is there a way that you can create and remove users?
The text was updated successfully, but these errors were encountered: