getAuthByName()

The method returns the authentication method for the specified authName.

Synopsis

public OaAuthMethod getAuthByName(string authName);

Parameters

  1. Parameter Description
    authName

    You can use the following authentication methods for the authentication and authentication method names for the authName parameter: "Standard", "Windows", "Userdefined".

    Standard: User names, user rights and passwords are defined within WinCC_OA. All users must be defined in WinCC_OA so that a login is possible. See chapter User administration, basics.

    Windows: An input of user name and password within the login dialogue is checked against the Windows Active Directory. A login is only possible for existing and active windows users.

    "Userdefined": The user defined authentication allows you to use other non Windows authentication systems such as LDAP. To use this authentication method it is necessary to implement a specific interface. See chapter User-defined external authentication.

Return Value

The method returns the authentication method for the specified authName - see parameter above.

Errors

Missing or wrong arguments.

Assignment

Authentication

See also

listAuth(), getAuth()