[THIN] ifmember and Usrlogon.cmd

  • From: "msemon@xxxxxxx" <msemon@xxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Mon, 6 Jun 2005 10:42:16 -0400

Trying to remember the syntax to map a bunch of groups with ifmember.exe
in Usrlogon.cmd file. So far I have something like this:


echo off

ifmember hr
if errorlevel 1 goto hr

ifmember marketing
if errorlevel 1 goto marketing

ifmember administrators
if errorlevel 1 goto administrators

goto end

:hr
net use M: \\server1\hr_share$
goto end

:marketing
net use N: \\server1\marketing_share$
goto end

:administrators
net use O: \\server1\admin_share$
goto end

:end
Exit

Anyone have a better way of doing this?

Thanks,

Mike



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption
and certificate management.
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: