Method: Net::SSH::Authentication::Pageant::Win.get_sid
- Defined in:
-
lib/net/ssh/authentication/pageant.rb,
lib/net/ssh/authentication/pageant.rb
299 300 301 |
# File 'lib/net/ssh/authentication/pageant.rb', line 299 def self.get_sid(user) ptr_to_s(user.to_ptr.ptr,Win::SIZEOF_DWORD).unpack('L')[0] end |