You could use an ini file for this and use readprofilestring to get the data

Eaxmple:
 Code:
Break on

$inifile = "pathandfilenamehere"

$groups = "GroupA","GroupB"

For Each $group in $groups
	If InGroup($group)
		$username = ReadProfileString($inifile, $group, @USERID + "username")
		$password = ReadProfileString($inifile, $group, @USERID + "passoword")
		;do more stuff here
	EndIf
Next


Example ini file:
 Quote:

[GroupA]
usera1username=usernamegoeshere
usera1password=passwordgoeshere
usera2username=usernamegoeshere
usera2password=passwordgoeshere
usera3username=usernamegoeshere
usera3password=passwordgoeshere

[GroupB]
userb1username=usernamegoeshere
userb1password=passwordgoeshere
userb2username=usernamegoeshere
userb2password=passwordgoeshere
userb3username=usernamegoeshere
userb3password=passwordgoeshere


The only thing with this that might be an issue is that if a user is a member of GroupA and GroupB the last (GroupB) username and password will be used.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.