# WPA2EnterpriseProfile

```objectivec
NSString * ssid;
NSString * outerIdentity;
NSString * username;
NSArray <NSString *> * trustedServerNames;
NSString * installedBy;
NSDate * installed;
```

<table><thead><tr><th>Variable</th><th width="150">Description</th><th>Example</th></tr></thead><tbody><tr><td>ssid</td><td>Wi-Fi network SSID to connect to</td><td><code>securewifi.io</code></td></tr><tr><td>outerIdentity</td><td>The identity string to be used in the EAP-Identity/Response packet during outer EAP authentication.</td><td><code>anonymous@get.securewifi.io</code></td></tr><tr><td>username</td><td>username associated to the profile</td><td><code>YYYYYZZZXXX1</code></td></tr><tr><td>trustedServerNames</td><td>An array of server certificate common name strings used to verify a server's certificate</td><td><code>["get.securewifi.io"]</code></td></tr><tr><td>installedBy</td><td>the bundleId of the app installed the profile</td><td><code>com.cloud4wi.c4wiapp</code></td></tr><tr><td>installed</td><td>date when the profile has been installed</td><td><code>2022-07-08 08:08:44 +0000</code></td></tr></tbody></table>

### Example&#x20;

{% tabs %}
{% tab title="Swift" %}

```swift
var profiles: Array<WPA2EnterpriseProfile>
profiles = cloud4WiSDKWiFi.getCreatedWPA2EnterpriseProfiles()
var profile : WPA2EnterpriseProfile
profile = profiles[0]
print(profile.ssid)
print(profile.outerIdentity)
print(profile.username)
print(profile.trustedServerNames)
print(profile.installedBy)
print(profile.installed)
```

{% endtab %}

{% tab title="Objective-C" %}

```objectivec
NSArray<WPA2EnterpriseProfile *> *profiles = [cloud4WiSDKWiFi getCreatedWPA2EnterpriseProfiles];
WPA2EnterpriseProfile* profile = [profiles firstObject];
NSLog(@"%@", profile.ssid);
NSLog(@"%@", profile.outerIdentity);
NSLog(@"%@", profile.username);
NSLog(@"%@", profile.trustedServerNames);
NSLog(@"%@", profile.installedBy);
NSLog(@"%@", profile.installed);
```

{% endtab %}
{% endtabs %}

output

```swift
Optional("securewifi.io") <- ssid
Optional("anonymous@get.securewifi.io") <- outerIdentity
Optional("YYYYYZZZXXX1") <- username
Optional(["get.securewifi.io"]) <- trustedServerNames
Optional("com.cloud4wi.c4wiapp") <- installedBy
Optional(2022-07-08 08:08:44 +0000) <- installed
```
