Displaying 1 result from an estimated 1 matches for "allocateandinitializesid".
2008 Jul 08
12
Some more win32-security: SID.create
...ties.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. Unauthorized use of this communication is stri...