We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Client version (where I run the code):
Target server: Dell EMC R720xd
I found in the doc the way to create a user, but it's not working for some reason. Here is the code I'm using:
from omsdk.sdkcreds import UserCredentials from omsdk.sdkinfra import sdkinfra sd = sdkinfra() sd.importPath() idrac = sd.find_driver("<ip>", UserCredentials("<username>","<password>")) if idrac: idrac.user_mgr.create_user("<new_username>", "<new_password>", "<user_priv>") idrac.disconnect() else: print("Cannot connect to the server")
Here is the output:
(.venv) $ python3.9 main.py Traceback (most recent call last): File "main.py", line 9, in <module> idrac.user_mgr.create_user("<new_username>", "<new_password>", "<user_priv>") AttributeError: 'iDRACCredsMgmt' object has no attribute 'create_user'
Run the code above
N/A
As soon as possible
The text was updated successfully, but these errors were encountered:
No branches or pull requests
QwikContext
Client version (where I run the code):
Target server: Dell EMC R720xd
Details
I found in the doc the way to create a user, but it's not working for some reason. Here is the code I'm using:
Here is the output:
Repro Steps
Run the code above
Impact
N/A
NeedBy
As soon as possible
Severity
N/A
The text was updated successfully, but these errors were encountered: