PDA

View Full Version : How to check if a User or Group exists on Windows or Linux



brmatthews
05-06-2003, 04:57 PM
Does anyone have any code that checks to see if a particular Group (the name will be supplied by the user at install time) exists on the Windows or Linux box that the user is installing on?

I see that there is functionality built into ISMP to create users or groups, but not to check if a particular user or group exists.

Any help would be greatly appreciated! Thanks!