compare user name
Posted: Fri Jun 02, 2006 6:27 am
hello
i have a small problem. i'm currently testing robotask. i want to automate user creation in windows(no AD). creating user is not a problem. but i want to put the user in the right group. so what i'm trying to do is get the right user and put him in the right group. my problem is that i want to put the good user in the group.
ex: two user anniL and alexL.
does anyone know how i could compare name?
i would copy the name of the user i want to put in a group. then shuffle all the user until the name choose in the MMC would match th one i copy.
maybe it's not the right way to go. if anyone have a idea, please reply.
thanks for reading
i have a small problem. i'm currently testing robotask. i want to automate user creation in windows(no AD). creating user is not a problem. but i want to put the user in the right group. so what i'm trying to do is get the right user and put him in the right group. my problem is that i want to put the good user in the group.
ex: two user anniL and alexL.
does anyone know how i could compare name?
i would copy the name of the user i want to put in a group. then shuffle all the user until the name choose in the MMC would match th one i copy.
maybe it's not the right way to go. if anyone have a idea, please reply.
thanks for reading