<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GSS",
  "identifier" : "/documentation/GSS/kGSSCredentialUsage",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "GSS"
    ],
    "preciseIdentifier" : "c:@macro@kGSSCredentialUsage"
  },
  "title" : "kGSSCredentialUsage"
}
-->

# kGSSCredentialUsage

The value indicates how to use the credential.

```
var kGSSCredentialUsage: String { get }
```

## Discussion

Set to one of the following: `kGSS_C_INITIATE` (the default), `kGSS_C_ACCEPT`, or `kGSS_C_BOTH`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)