Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Wildcards for Delete Users From Management Console

I want to automatically delete users (administrators) from the Smartconsole "Manage & Settings" -> "Permissions & Administrators" -> Administrators.

I know i can use a script with mgmt-cli delete administrator uid "username".

Now my Question is if there are any wildcards which could cause problems?

for example: mgmt-cli delete administrator uid * -> would the * be interpreted as everything and all my administrators will be deleted?

Regards

Tom

Tags (1)
0 Kudos
4 Replies
Highlighted

Hi Tom,

What is the scenario you are trying to achieve? I can't imagine that you would want to remove all administrators from the system.

Regards

Mark 

0 Kudos
Highlighted

The Idea was to give specific People the possibility to manage Administrators via script so they don't need to log in with an Account (we only have 1 account which can create users and access is restricted and logged) which has the rights to create users to smart console every time. i just want to make sure no wrong Special character can create an unwanted scenario. like use a * to remove everyone. 

0 Kudos
Highlighted
Admin
Admin

Pretty sure wildcards aren't supported in this context.

0 Kudos
Highlighted

Or check with regex your input string in the script.

0 Kudos