'Run the functions if the user is a member of the groupSet oGroup = getobject("WinNT://kbomb.local/" & "Domain Admins")For Each oMember in oGroup.MembersIf lcase(oMember.Name) = lcase(UserLoggedIn) ThenRunRegModifications()RunFileModifications()End IfNext