From: SMTP%"lavault@esker.fr" 11-OCT-1997 10:43:53.53 To: ntfsd@atria.com CC: Subj: session information Return-Path: owner-ntfsd@atria.com Received: by arisia.gce.com (UCX V4.1-12C, OpenVMS V7.1 VAX); Sat, 11 Oct 1997 10:38:41 -0400 Received: from mv.mv.com (root@mv.mv.com [192.80.84.1]) by bort.mv.net (8.8.5/mem-951016) with ESMTP id RAA00276 for ; Fri, 10 Oct 1997 17:34:19 -0400 (EDT) Received: from gw.atria.com (gw.atria.com [192.88.237.2]) by mv.mv.com (8.8.5/mem-940616) with SMTP id RAA17350 for ; Fri, 10 Oct 1997 17:33:04 -0400 (EDT) Received: by gw.atria.com id Fri, 10 Oct 1997 13:54:12 -0400 Received: from jupiter.esker.fr by gw.atria.com id Fri, 10 Oct 1997 13:54:09 -0400 From: lavault@esker.fr Received: from lavault.esker.fr.esker.fr (lavault.esker.fr [194.51.34.75]) by jupiter.esker.fr (/Esker 1.0) with ESMTP id TAA19221 for ; Fri, 10 Oct 1997 19:53:10 +0200 Message-Id: <199710101753.TAA19221@jupiter.esker.fr> Date: Fri, 10 Oct 97 19:32:16 +0100 To: ntfsd@atria.com Subject: session information X-Mailer: Sender: owner-ntfsd@atria.com Precedence: bulk For my driver, when I receive Create requests, I need to get information about the session of the user that initiated the request. I can see two solutions : - OpenProcessToken and call ZwQueryTokenInformation. but I don't known how to get the process handle that will fit as a parameter of OpenProcessToken. - Use the field PrimaryToken in SubjectSecurityContext given by the IRP, but struct PACCESS_TOKEN is not documented. Does it contains AuthentificationId, and where ? What is the best solution ? Is there another one ? thanks for any hint, Bernard Lavault. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]