Jump to content

Recommended Posts

Posted

Hi,
I'm looking for some advice on the best way of changing someone from a basic to a full user, or vice versa, and changing the roles they have.
I see ways of doing this manually or via an import and account updates but wanted something more automated available directly through service manager. For example, change user type, remove current roles, assign a new set of roles. It seems user templates can only be used when creating new accounts.
The only way I can think of doing this seems tedious, and I thought it might be a common and simple requirement so hope I'm missing something obvious :- )

I've seen an old post from @AndyHill but not sure what approach he was using and think I might be wanting to change more things.

 

 

Posted

Hi,

Thanks @Berto2002, I had missed these two posts in system admin and enhancements.

For us too we are notified of an individual who needs to become a full user after their account has been created by an import; we cannot easily identify them at the time, as there is no definite area or other value that means they need such a role.
I'll look into whether we could use a new data import configuration as @James Ainsworth suggests but limiting to an individual. This would at least bring it into service manager rather than handling as a scripted import.
I'm not sure I see how I could get a process with Update User Account/Remove Role from User/Add Role to User to work, removing whatever current roles they had first, although I do quite like this idea as it potentially allows for more flexibility.

Posted
7 hours ago, JJack said:

For us too we are notified of an individual who needs to become a full user

Hi @JJack

If you are being notified about an individual that needs changing, could you incorporate this into a process?  You could create a request catalog entry that drives a capture and workflow for processing these.  Below is a screenshot of an automation that changes a user from basic to full.

image.png

 

There are also options for adding and removing roles.

image.png

Let us know if these help.

 

  • Thanks 1
Posted

Hi @James Ainsworth
Yes, we could do that, but I thought a bit tedious! I'd have to see if the process could find out what roles they already have, and if it mattered if I tried to remove ones they didn't have. Can't even tell if multiple roles can be specified against the 'Role' option.
I'll have to experiment, or I might try your suggestion of an import configuration first 🙂

  • Like 1
  • 2 weeks later...
Posted

@James Ainsworth When using the above node to downgrade a user from full to basic, is the user automatically stripped of all "Full User" roles or will that have to be handled manually. If so can multiple roles be stripped in a single node or will it need one per role?

Posted

Hi @HHH

Yes.  It will remove all of the full user roles.  To show this, I did a quick test by creating an Auto Task that contained a single node for updating a user account.  I set the user type to a basic account, and ran it from a custom button on a request.

Before:
image.png

After:

image.png

  • Like 1
  • 2 months later...
Posted

Hi,

Could anyone direct me to an appropriate place to find out about working with strings within a service manager workflow or automated task?

  • Role [string] MANDATORY : The role to add to the user

Thanks.

Posted

The string here is just the data type; this is just asking you to enter the Role Name (or RoleID) manually or as a variable from a Get node

Posted

Hi @Berto2002, it will accept just a single word but fails if I put a role name that has a space. Tried various variations but no luck.

On second thoughts, probably fails because I'm not located at the correct application.

  • 3 weeks later...
Posted

Thanks to all for suggestions, I decided to bite the bullet and created a capture and workflow with numerous separate nodes adding our various 'user' roles one at a time (and an autotask, for good measure when it is more convenient).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...