B
Birger Niss
Hi,
I am using File.GetAccessRules to find the NT-users and groups that have
permissions on the object. I need however to find out if a given rule
pertains to a user or a group. How can I do that?
With rule.IdentityReference I can get the underlying NTAccount object,
which - via the Translate method - can be translated to a SID security
identifier.
Very often the SID is short for groups and long for users, but not always.
Any help will be greatly appreciated!
Birger
I am using File.GetAccessRules to find the NT-users and groups that have
permissions on the object. I need however to find out if a given rule
pertains to a user or a group. How can I do that?
With rule.IdentityReference I can get the underlying NTAccount object,
which - via the Translate method - can be translated to a SID security
identifier.
Very often the SID is short for groups and long for users, but not always.
Any help will be greatly appreciated!
Birger