Just use the builtin 'user' type.

On 12/13/2016 8:41 AM, Mariusz Gibki wrote:
How to check if user exist in windows OS.

If exist do nothing

if not exist add user

???
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/bf391cae-c98a-4393-b479-9a543f9e600a%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/bf391cae-c98a-4393-b479-9a543f9e600a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/27ad8e3d-b5d2-4e85-a436-e9cfdd9dec22%40alter3d.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to