# File lib/chef/win32/security/sid.rb, line 162 def self.AccountOperators SID.from_string_sid('S-1-5-32-548') end
# File lib/chef/win32/security/sid.rb, line 186 def self.Administrator SID.from_account("#{::ENV['COMPUTERNAME']}\\Administrator") end
# File lib/chef/win32/security/sid.rb, line 177 def self.Administrators SID.from_string_sid('S-1-5-32-544') end
# File lib/chef/win32/security/sid.rb, line 120 def self.Anonymous SID.from_string_sid('S-1-5-7') end
# File lib/chef/win32/security/sid.rb, line 132 def self.AuthenticatedUsers SID.from_string_sid('S-1-5-11') end
# File lib/chef/win32/security/sid.rb, line 171 def self.BackupOperators SID.from_string_sid('S-1-5-32-551') end
# File lib/chef/win32/security/sid.rb, line 111 def self.Batch SID.from_string_sid('S-1-5-3') end
# File lib/chef/win32/security/sid.rb, line 150 def self.BuiltinAdministrators SID.from_string_sid('S-1-5-32-544') end
# File lib/chef/win32/security/sid.rb, line 153 def self.BuiltinUsers SID.from_string_sid('S-1-5-32-545') end
# File lib/chef/win32/security/sid.rb, line 84 def self.Creator SID.from_string_sid('S-1-3') end
# File lib/chef/win32/security/sid.rb, line 90 def self.CreatorGroup SID.from_string_sid('S-1-3-1') end
# File lib/chef/win32/security/sid.rb, line 96 def self.CreatorGroupServer SID.from_string_sid('S-1-3-3') end
# File lib/chef/win32/security/sid.rb, line 87 def self.CreatorOwner SID.from_string_sid('S-1-3-0') end
# File lib/chef/win32/security/sid.rb, line 93 def self.CreatorOwnerServer SID.from_string_sid('S-1-3-2') end
# File lib/chef/win32/security/sid.rb, line 105 def self.Dialup SID.from_string_sid('S-1-5-1') end
# File lib/chef/win32/security/sid.rb, line 126 def self.EnterpriseDomainControllers SID.from_string_sid('S-1-5-9') end
# File lib/chef/win32/security/sid.rb, line 78 def self.Everyone SID.from_string_sid('S-1-1-0') end
# File lib/chef/win32/security/sid.rb, line 189 def self.Guest SID.from_account("#{::ENV['COMPUTERNAME']}\\Guest") end
# File lib/chef/win32/security/sid.rb, line 156 def self.Guests SID.from_string_sid('S-1-5-32-546') end
# File lib/chef/win32/security/sid.rb, line 114 def self.Interactive SID.from_string_sid('S-1-5-4') end
# File lib/chef/win32/security/sid.rb, line 81 def self.Local SID.from_string_sid('S-1-2') end
# File lib/chef/win32/security/sid.rb, line 141 def self.LocalSystem SID.from_string_sid('S-1-5-18') end
# File lib/chef/win32/security/sid.rb, line 108 def self.Network SID.from_string_sid('S-1-5-2') end
# File lib/chef/win32/security/sid.rb, line 72 def self.Nobody SID.from_string_sid('S-1-0-0') end
# File lib/chef/win32/security/sid.rb, line 99 def self.NonUnique SID.from_string_sid('S-1-4') end
Machine-specific, well-known SIDs TODO: don't use strings, dummy
# File lib/chef/win32/security/sid.rb, line 183 def self.None SID.from_account("#{::ENV['COMPUTERNAME']}\\None") end
# File lib/chef/win32/security/sid.rb, line 102 def self.Nt SID.from_string_sid('S-1-5') end
# File lib/chef/win32/security/sid.rb, line 144 def self.NtLocal SID.from_string_sid('S-1-5-19') end
# File lib/chef/win32/security/sid.rb, line 147 def self.NtNetwork SID.from_string_sid('S-1-5-20') end
Well-known SIDs
# File lib/chef/win32/security/sid.rb, line 69 def self.Null SID.from_string_sid('S-1-0') end
# File lib/chef/win32/security/sid.rb, line 159 def self.PowerUsers SID.from_string_sid('S-1-5-32-547') end
# File lib/chef/win32/security/sid.rb, line 129 def self.PrincipalSelf SID.from_string_sid('S-1-5-10') end
# File lib/chef/win32/security/sid.rb, line 168 def self.PrintOperators SID.from_string_sid('S-1-5-32-550') end
# File lib/chef/win32/security/sid.rb, line 123 def self.Proxy SID.from_string_sid('S-1-5-8') end
# File lib/chef/win32/security/sid.rb, line 174 def self.Replicators SID.from_string_sid('S-1-5-32-552') end
# File lib/chef/win32/security/sid.rb, line 135 def self.RestrictedCode SID.from_string_sid('S-1-5-12') end
# File lib/chef/win32/security/sid.rb, line 165 def self.ServerOperators SID.from_string_sid('S-1-5-32-549') end
# File lib/chef/win32/security/sid.rb, line 117 def self.Service SID.from_string_sid('S-1-5-6') end
# File lib/chef/win32/security/sid.rb, line 138 def self.TerminalServerUsers SID.from_string_sid('S-1-5-13') end
# File lib/chef/win32/security/sid.rb, line 75 def self.World SID.from_string_sid('S-1-1') end
# File lib/chef/win32/security/sid.rb, line 193 def self.current_user SID.from_account("#{::ENV['USERDOMAIN']}\\#{::ENV['USERNAME']}") end
# File lib/chef/win32/security/sid.rb, line 32 def self.from_account(name) domain, sid, use = Chef::ReservedNames::Win32::Security.lookup_account_name(name) sid end
# File lib/chef/win32/security/sid.rb, line 41 def ==(other) other != nil && Chef::ReservedNames::Win32::Security.equal_sid(self, other) end
# File lib/chef/win32/security/sid.rb, line 47 def account Chef::ReservedNames::Win32::Security.lookup_account_sid(self) end
# File lib/chef/win32/security/sid.rb, line 51 def account_name domain, name, use = account (domain != nil && domain.length > 0) ? "#{domain}\\#{name}" : name end
# File lib/chef/win32/security/sid.rb, line 56 def size Chef::ReservedNames::Win32::Security.get_length_sid(self) end
Generated with the Darkfish Rdoc Generator 2.