Contents

associate(toEnterpriseNetwork:identity:username:password:)

Connects to the given enterprise network.

Declaration

func associate(toEnterpriseNetwork network: CWNetwork, identity: SecIdentity?, username: String?, password: String?) throws

Parameters

  • network:

    The network to which the interface will associate.

  • identity:

    The identity to use for IEEE 802.1X authentication. Holds the corresponding client certificate.

  • username:

    The username to use for IEEE 802.1X authentication.

  • password:

    The password to use for IEEE 802.1X authentication.

Discussion

This method will block for the duration of the association. This operation may require an administrator password.

See Also

Associating to a network