Displaying 1 result from an estimated 1 matches for "initializesid".
Did you mean:
initializes
2008 Jul 08
12
Some more win32-security: SID.create
...*sub_authorities)
if sub_authorities.length > 8
raise ArgumentError, ''maximum of 8 subauthorities allowed''
end
authorities = Array.new(8, 0)
authorities.replace(sub_authorities)
count = authorities.select{ |e| e > 0 }.size
if count == 0
# Use InitializeSid()
else
# Use AllocateAndInitializeSid()
end
end
Any help actually implementing this method would also be greatly
appreciated, as my attempts were not working out so well.
Thanks,
Dan
This communication is the property of Qwest and may contain confidential or
privileged information....