### YamlMime:JavaEnum uid: "com.microsoft.azure.batch.protocol.models.LoginMode" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode" name: "LoginMode" nameWithType: "LoginMode" summary: "Defines values for LoginMode." inheritances: - "" - "" inheritedClassMethods: - classRef: "java.lang.Enum" methodsRef: - "valueOf" - "clone" - "compareTo" - "describeConstable" - "equals" - "finalize" - "getDeclaringClass" - "hashCode" - "name" - "ordinal" - "toString" - classRef: "java.lang.Object" methodsRef: - "getClass" - "notify" - "notifyAll" - "wait" - "wait" - "wait" syntax: "public enum **LoginMode**
extends Enum<>" fields: - uid: "com.microsoft.azure.batch.protocol.models.LoginMode.BATCH" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode.BATCH" name: "BATCH" nameWithType: "LoginMode.BATCH" summary: "The LOGON32\\_LOGON\\_BATCH Win32 login mode." desc: "The LOGON32\\_LOGON\\_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes." - uid: "com.microsoft.azure.batch.protocol.models.LoginMode.INTERACTIVE" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode.INTERACTIVE" name: "INTERACTIVE" nameWithType: "LoginMode.INTERACTIVE" summary: "The LOGON32\\_LOGON\\_INTERACTIVE Win32 login mode." desc: "The LOGON32\\_LOGON\\_INTERACTIVE Win32 login mode. UAC is enabled on Windows Pools. If this option is used with an elevated user identity in a Windows Pool, the user session will not be elevated unless the application executed by the Task command line is configured to always require administrative privilege or to always require maximum privilege." methods: - uid: "com.microsoft.azure.batch.protocol.models.LoginMode.fromString(java.lang.String)" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode.fromString(String value)" name: "fromString(String value)" nameWithType: "LoginMode.fromString(String value)" summary: "Parses a serialized value to a LoginMode instance." modifiers: - "static" parameters: - description: "the serialized value to parse." name: "value" type: "String" syntax: "public static LoginMode fromString(String value)" desc: "Parses a serialized value to a LoginMode instance." returns: description: "the parsed LoginMode object, or null if unable to parse." type: "" - uid: "com.microsoft.azure.batch.protocol.models.LoginMode.toString()" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode.toString()" name: "toString()" nameWithType: "LoginMode.toString()" overridden: "java.lang.Enum.toString()" syntax: "public String toString()" returns: type: "String" - uid: "com.microsoft.azure.batch.protocol.models.LoginMode.valueOf(java.lang.String)" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode.valueOf(String name)" name: "valueOf(String name)" nameWithType: "LoginMode.valueOf(String name)" modifiers: - "static" parameters: - name: "name" type: "String" syntax: "public static LoginMode valueOf(String name)" returns: type: "" - uid: "com.microsoft.azure.batch.protocol.models.LoginMode.values()" fullName: "com.microsoft.azure.batch.protocol.models.LoginMode.values()" name: "values()" nameWithType: "LoginMode.values()" modifiers: - "static" syntax: "public static LoginMode[] values()" returns: type: "[]" desc: "Defines values for LoginMode." metadata: {} package: "com.microsoft.azure.batch.protocol.models" artifact: com.microsoft.azure:azure-batch:11.2.0