Scott,

Thanks for your quick reply.  Everything works now!

-a

On Apr 30, 11:28 am, "Scott Talsma" <[EMAIL PROTECTED]> wrote:
> This should get you going down the right path.  The group data is not in the
> session, but you can pull it from the authenitcation package easily enough.
>
> <cfset cfcUser = CreateObject("component",
> "#application.packagepath#.security.authentication") />
>
> <!--- pull the login name/id out of the session --->
> <cfif IsDefined( "session.dmsec.authentication.userLogin") AND Len(
> session.dmsec.authentication.userLogin) NEQ 0>
>         <cfset userName = session.dmsec.authentication.userLogin />
>         <cfset stUser = StructNew() />
>         <cfset stUser.userName = userName />
>
>         <!--- get the user's groups from the user name --->
>         <cfset aGroups = cfcUser.getMultipleGroups( userlogin="#userName#",
> userDirectory = "CLIENTUD") />
>
> </cfif>
>
> Scott Talsma
> CTO
> echo.eleven
> 404.845.3458
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Alfie1109
> Sent: Monday, April 30, 2007 9:54 AM
> To: farcry-dev
> Subject: [farcry-dev] What is the permission SESSION used when user logs in?
>
> Hi,
>
> I'd like to know the SESSION used for permission when a user logs in, like
> for example '#SESSION.dmprofile.userName#'.  Is there a SESSION for
> usertogroup '#SESSION.usertogroup.groupid#'?  How does it know what group to
> used when user logs in?
>
> Again, any help will be very much appreciated.
>
> -thanks
> alfie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to