---
title: kGSSCredentialUsage
framework: GSS
role: symbol
role_heading: Global Variable
platforms: [iOS 5.0+, iPadOS 5.0+, Mac Catalyst 13.0+, macOS 10.14+, visionOS 1.0+]
path: gss/kgsscredentialusage
---

# kGSSCredentialUsage

The value indicates how to use the credential.

## Declaration

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

## Discussion

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

## See Also

### Initial Credential Keys

- [kGSSICPassword](gss/kgssicpassword.md)
- [kGSSICCertificate](gss/kgssiccertificate.md)
- [kGSSICVerifyCredential](gss/kgssicverifycredential.md)
- [kGSSICLKDCHostname](gss/kgssiclkdchostname.md)
- [kGSSICKerberosCacheName](gss/kgssickerberoscachename.md)
- [kGSSICSiteName](gss/kgssicsitename.md)
- [kGSSICAppIdentifierACL](gss/kgssicappidentifieracl.md)
- [kGSSICCreateNewCredential](gss/kgssiccreatenewcredential.md)
- [kGSSICAppleSourceApp](gss/kgssicapplesourceapp.md)
- [kGSSICVerifyCredentialAcceptorName](gss/kgssicverifycredentialacceptorname.md)
- [kGSSICAuthenticationContext](gss/kgssicauthenticationcontext.md)
