ahout get the process SID in file system filter driver

hi,
I am a new gay in driver programming.
Some one said:when remote computer access my computer,a file system filtr driver in my computer can get the process SID.
And I want to know how I can get the process SID in file driver.
thank in advance.
jack zdk