Skip to content
Discussion options

You must be logged in to vote

In your CreateFile method, you can call GetRequestorToken() on the DokanFileInfo object you get there. That will give you a token of the requesting user. Then, use something like new WindowsIdentity(token.DangerousGetHandle()) to get the user identity of that token.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PedroVentura235
Comment options

Answer selected by PedroVentura235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants