Indicates the mode used for logon to SharePoint. In case of USER_CREDENTIALS, the LoginSettings object needs
information about the host name, user name, password and the domain of the SharePoint server. Otherwise, in case of
INVOCATION_CONTEXT, the context of the user who has invoked the operation is used to connect with SharePoint.