<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GSS",
  "identifier" : "/documentation/GSS/GSSNameCreateDisplayString(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "GSS"
    ],
    "preciseIdentifier" : "c:@F@GSSNameCreateDisplayString"
  },
  "title" : "GSSNameCreateDisplayString(_:)"
}
-->

# GSSNameCreateDisplayString(_:)

Returns a string suitable for displaying to the user from a GSS name.

```
func GSSNameCreateDisplayString(_ name: gss_name_t) -> Unmanaged<CFString>?
```

## Parameters

`name`

The GSS name from which to get the display string.

## Return Value

A `CFString` object that contains a string suitable for display to the user. Use `CFRelease` to free this object’s memory when you are done with it.

## Discussion

Do not use the result of this function call to verify ACL subjects.

---

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)