Average time to read: 5 minutes

If you are used to working with XenApp, then being able to create custom administrator roles is nothing new, itโ€™s just there like it’s supposed to be.ย However, if you are a hardcore XenDesktop admin then this is probably something youโ€™ve been waiting for. The predefined administrator roles (5 in total) in XenDesktop 5 just donโ€™t cut it, and we want, or need, flexibility. Wellโ€ฆ with the release of XenDesktop 7 itโ€™s now all there. You’ll still findย a set of predefined roles but with the added possibility of creating a custom role, finally!

Pre-defined and custom

The ability to assign a user or certain groups of users, not only explicit permissions, but permissions to specific objects as well is a must in most organizations. With delegated administration in XenDesktop 7 you can do just that. The idea behind it is based on roles, scopes and objects whichย I’ll explainย shortly. As mentioned,ย just like with XenDesktop 5.x there is alsoย a set of predefined roles, youโ€™ll find them in the overview below, note that these are not customizable. However, the real flexibility and granularity comes with the custom administration role, which is new.

Delegated Administration overview XD7

Roles

Looking at the above kind of gives you an idea what roles are about. Roles define what a user can do within your Site depending on the permissions granted. If we look at the Helpdesk Administrator roleย for example, it can view delivery groups and manage all sessions and associated machines with it.ย Unfortunately it doesnโ€™t give us the option to configure which delivery groups the Helpdesk Administrator role can view and thus manage, meaning that this particular role can manage sessions and machines for all delivery groups within your Site. The same goes for the Applications Administrator role; it can manage all applications, including all associated machines and sessions, not much granularity here. But waitโ€ฆ this where the custom role come in.

Scopes and objects

Go hand in hand and help form the custom administrator role. With scopes you define which specific objects (per department for example) an administrator can manage as part ofย the custom role permissions,ย like; desktops, catalogs, applications, hosts etcโ€ฆBasically the same as with the predefined roles mentioned above only now you can limit the scope to specific objects. By default there is one scope defined, it’s named ‘All’ and it holds all Site objects, including the ones that are created and added at a later time, itย can’t be deleted or modified.ย All predefined roles mentioned earlier are based on this scope. So unless you create a custom role and theย scope(s) to go with it, administrators will be able to manage all objects that fall within the range of one ofย the predefined roles you assign them.

It works like this

You first create a custom administrator role, give it a name and assign permissions to it. This is allย still high level, for example, you assign the custom role permissions to manage several objects like;ย delivery groups and machine catalogs. During that same step you also decide what can be managed (sub-permissions)ย within these objects; can they create, add or delete applications to and from the delivery groups, add or delete machines to and from catalogs and so on and so forth, there is a whole list of options to choose from.

Next…

With high level I mean that these permissions still apply to all delivery groups and catalogs within your site (the ‘All’ scope).ย In the next step you configure the scope to which these permissions will apply. You simple select the delivery group(s) and catalog(s), again, called objects as part of the scope, to which these role permissions get applied and thatโ€™s basically it. Once created, youโ€™ll have to assign the custom role plus scope(s) (and objects) to a user of choice by creating a new administrator.ย Iโ€™ll throw in some visuals to clarify. First we need to create our custom role.ย In Studio go to the Administrators page,ย it’s on the left. Click on ‘Create Role’ on the right hand side of the screen, a new window will pop up.

Delegated Admin 1

Give it a name, description and decide which permissions (and sub permissions)ย to assign.

Delegated Admin 2

After clicking save, you’ll need to create your custom scope. Switch to the scopes tab and select ‘Create Scope’ on the right. Here you’ll see all objects available within your Site, select accordingly and click Save.

Delegated Admin 3

Once that’s done there’s just one more step left. You’ll now need to create a new administrator, as explained earlier,ย to which this custom role (and scope(s) plus object(s) can be assigned to. Give this some thought, especially if you have multiple custom Roles and Scopes. For example, assigning custom role permissions, during the first step, ย to modify delivery groups doesn’t do anything when the accompanying scope is set to catalogs, so select accordingly. Select ‘Create Administrator’ on the right side of your screen.

Delegated Admin 4

Click the ‘Browse’ tab to select a user account, next, select the appropriate scope to go with the custom role which you’ll need to select on the next page.

Delegated Admin 5

Finally the summary page will appear, meaning you’re done. Hit Finish and the rest will take care of itself. Make sure that the ‘Enable Administrator’ box is checked so that the account can be used right away, or not, if that’s what you need.

Delegated Admin 6

What else?

Every โ€˜normalโ€™ domain user can become an administrator, there are no specific prerequisites. If a user is made a member of multiple custom administrator profiles then all permissions will be added up, they are inclusive. All custom administrator roles and scopes defined can be copied when necessary. If your Site is complex and has multiple custom administrators configured, dozens perhaps,ย you can use the so called Resultant Set of Permissions tool to see which permissions go withย which custom admin account. Personally Iโ€™m not sure if this will be used much but I can see the added value in some cases.

Conclusion

Delegated Administration is something we canโ€™t do without, I think we all agree. I wonder why Citrix waited this long to include it as far as XenDesktop is concerned. I canโ€™t imagine this being extremely complicated to implement. Anyway, itโ€™s here now and pretty straight forward to configure. I was playing around with it myself and thought it might be a good subject to write about. Although itย taught me a thing or two, to be honest, you donโ€™t need a manual to figure this one out. Thank you for reading anyway ;-)

Bas van Kaam on FacebookBas van Kaam on LinkedinBas van Kaam on Twitter
Bas van Kaam
Bas van Kaam
Field CTO EMEA by day, author by night @ Nerdio
Father of three, EMEA Field CTO @ Nerdio, Author of the book Van de Basis tot aan Meester in de Cloud, Co-author of the book Project Byte-Sized and Yuthor of the book: Inside Citrix โ€“ The FlexCast Management Architecture, over 500 blog posts and multiple (ultimate) cheat sheets/e-books. Public speaker, sport enthusiastยญยญยญยญยญยญยญยญ: above-average runner, 3 x burpee-mile finisher and a former semiprofessional snooker player. IT community participant and initiator of the AVD User group Community world wide.
, ,


5 responses to “Delegated Administration… I’m just saying”

  1. […] By Bas van Kaam at –ย https://basvankaam.com/2013/10/14/delegated-administration-im-just-saying/ […]

  2. Hello Bas,

    Great Job, I liked your website, and i am from middle East (Jordan) and I am looking to create similar to your website but in arabic, so how is managing your website, and to start with minimum cost.

    Besta Regards
    Mustafa

    1. Hi Mustafa

      Just give WordPress.com a visit, itโ€™s all pretty self-explanatory. I only bought two things, my domain name basvankaam.com (I already had basvankaam.nl :-) and an extra โ€˜no addsโ€™ feature so there are no commercials on my website, total costs are around 40 dollars annual. Good luck and have fun!

      Regards,

      Bas.

  3. Thanks Bas. Just to let you know, I see many techs using your portal as Citrix reference when they need help. keep going.

    1. Thanks Mustafa, that’s really great to hear! Have a good weekend!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

About

Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown prmontserrat took a galley of type and scrambled it to make a type specimen book.

Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown prmontserrat took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

Categories

Gallery

Verified by MonsterInsights