Sha256: 8a1a0a208deb0e278ddd9b831acfe2efdaecd14e63a831427928c10016389dce

Contents?: true

Size: 837 Bytes

Versions: 1

Compression:

Stored size: 837 Bytes

Contents

module Inetmgr
  # Specifies security, performance, health, and reliability features of application pools.
class ProcessModel < IisObject

	Identity_type_map = [:system, :local_service, :network_service, :specific_user, :application_pool_identity]

	##
	# Specifies the logon type for the process identity.
	# - :batch indicates that the application pool identity should logon as a batch user.
	# - :service indicates that the application pool identity should logon as a service.

	prop :logon_type, :logonType, lambda {|value| value == :batch ? 0 : 1 }, lambda { |a| a == 0 ? :batch : :service }

	prop :identity_type, :identityType, lambda {|value| Identity_type_map.index(value)}, lambda { |a| Identity_type_map[a] }
	prop :user_name, :userName
	#prop :password
	prop :load_user_profile, :loadUserProfile

end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.7.0 lib/inetmgr/iis_object/process_model.rb