FormsService LoginAs Method (String, String, String, Boolean,  String , String, String, String, IDictionary String, String )frevvo Live Forms
Login to frevvo as any of the existing tenant users, provided you can pass in the tenant's admin user and password.

Namespace: Frevvo.Forms.Client
Assembly: Frevvo.Forms.Client (in Frevvo.Forms.Client.dll) Version: 7.2.1.0 (7.2.1)
Syntax

public AutoLoginUserInfo LoginAs(
	string loginAsUser,
	string tenantAdminUser,
	string tenantAdminPwd,
	bool isVirtual,
	string[] roles,
	string firstname,
	string lastname,
	string email,
	IDictionary<string, string> customParams
)

Parameters

loginAsUser
Type: OnlineSystem String
The user name to login as
tenantAdminUser
Type: OnlineSystem String
The tenant's admin user name
tenantAdminPwd
Type: OnlineSystem String
The tenant's admin password
isVirtual
Type: OnlineSystem Boolean
Whether the specified loginAsUser is virtual (tenant must be configured with DelegatingSecurityManager). By default, virtual users are non-designers (i.e. will be able to participate in flows but not create forms/flows). The user will be created only if it does not yet exist.
roles
Type:  OnlineSystem String 
If requesting a virtual user, specify roles that should be played. For example to add the designer role, pass in frevvo.Designer.
firstname
Type: OnlineSystem String
If requesting a virtual user, specify the first name
lastname
Type: OnlineSystem String
If requesting a virtual user, specify the last name
email
Type: OnlineSystem String
If requesting a virtual user, specify the email address
customParams
Type: OnlineSystem.Collections.Generic IDictionary OnlineString, OnlineString 
If requesting a virtual user, specify custom name value pairs (e.g. customParams["autoLogin"] = "true")

Return Value

Type: AutoLoginUserInfo
AutoLoginUserInfo with information regarding the user that was logged in
See Also