Rune
(Lurker)
2006-06-26 02:33 PM
InGroup and Windows machine accounts

I have problems using InGroup with an AD-group which contains machine account names. I add a machine to a security group and try a InGroup test on this group by logging on using this machine. It does not work.

In the user manual it says that the InGroup function check for group membership of users.
Does InGroup only work for groups that have users as members (not computers)?
If yes, is there a (simple) way around it?


Best regards
Rune


ShawnAdministrator
(KiX Supporter)
2006-06-26 02:42 PM
Re: InGroup and Windows machine accounts

InGroup is only for users (the current user). Might try this UDF though:

fnInGroupAD() - Determines if a user or computer is a member of an AD Group

-Shawn


Radimus
(KiX Supporter)
2006-06-26 03:52 PM
Re: InGroup and Windows machine accounts

there is also ComputerIngroup() function in the UDF forum as well