method

new

ruby latest stable - Class: Win32::SSPI::NegotiateAuth

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

new(user = nil, domain = nil)
public

Creates a new instance ready for authentication as the given user in the given domain. Defaults to current user and domain as defined by ENV[“USERDOMAIN”] and ENV[“USERNAME”] if no arguments are supplied.