Method: LiveIdentity::Identity#LogonIdentityEx

Defined in:
lib/live_identity.rb

#LogonIdentityEx(authPolicy, authFlags, rstParams = []) ⇒ Object

Raises:



355
356
357
358
359
360
361
362
363
# File 'lib/live_identity.rb', line 355

def LogonIdentityEx(authPolicy, authFlags, rstParams = [])
    wszAuthPolicy = nil
    wszAuthPolicy = StringToWSTR(authPolicy) if authPolicy
    dwAuthFlags = authFlags
    dwpcRSTParamsCount = rstParams.count
    pcRSTParams = LiveIdentity::processRSTParams(rstParams)
    hr = IDCRL.LogonIdentityEx(@hIdentity, wszAuthPolicy, dwAuthFlags, pcRSTParams, dwpcRSTParamsCount)
    raise LiveIdentityError.new(hr) if LiveIdentity::IsError?(hr)
end