Git Product home page Git Product logo

Comments (5)

jcwalker avatar jcwalker commented on June 14, 2024

Hi @pyrostew, does using UserConfiguration for the targetType give the desired result for your issue?

from gpregistrypolicydsc.

pyrostew avatar pyrostew commented on June 14, 2024

I Tried with the User Configuration as well, but again can only have one instance of the resource because AccountName is not a Key parameter, so at best can only set one group. If the AccountName parameter could take an array of names that would achieve what I need.

from gpregistrypolicydsc.

jcwalker avatar jcwalker commented on June 14, 2024

I would have to test to verify but I think if UserConfiguration is the targetType the policy will apply to all users so it would be unnecessary to apply same policy to multiple accounts. Is your scenario that you want to apply a policy to User1, User2, but not User3?

from gpregistrypolicydsc.

pyrostew avatar pyrostew commented on June 14, 2024

Oooh I see what you mean, sorry I misunderstood your last comment!

I had assumed (perhaps wrongly) that the UserConfiguration would only set the account that is running the config...

I can't test at the moment, my environment is having other issues that I'm currently resolving.

from gpregistrypolicydsc.

pyrostew avatar pyrostew commented on June 14, 2024

I've managed to test your suggestion, and yes it did apply the configuration to all of the users. So my user case at the moment is fine. It still feels like there is a potential gap if a configuration needed to be applied to a number of specific users or groups. But I'll leave you to stew over the value of that.

Thanks for realigning my understanding!

from gpregistrypolicydsc.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.