Class: ReservedNames::Win32::API::Net::USER_INFO_3

Inherits:
FFI::Struct
  • Object
show all
Includes:
StructHelpers
Defined in:
lib/chef/win32/api/net.rb

Instance Method Summary collapse

Methods included from StructHelpers

#as_ruby, #get, #set

Instance Method Details

#usri3_logon_hoursObject



126
127
128
129
130
131
132
133
# File 'lib/chef/win32/api/net.rb', line 126

def usri3_logon_hours
  val = self[:usri3_logon_hours]
  if !val.nil? && !val.null?
    val.read_bytes(21)
  else
    nil
  end
end