Sorry for my bad english.(and for my bad mind..)
It's difficult for me to explain due to my english and my mind... [Frown]

I will try to be more clear... (impossible, but i want to try)

Every user is part of a particular Group. Every group have his specific thing to do; Every group has an E-mail Drive (M:) and it is mapped using @primarygroup Macro.

Example of logon script:

net use "m:" "\\$server\@primarygroup$"

I can set Primary group Only using User Manager.
I want to find another way to do this, using script, or command line utils.

For example, Suppose that i have to rebuild all account & group structure (without Rdisk or backup).
With ADSI i can create user, group, set Group for all user etc.. (based on .ini file that contain all information needed) But not set the primary group.