---
title: "GSSNameCreateDisplayString(_:)"
framework: GSS
role: symbol
role_heading: Function
platforms: [iOS 7.0+, iPadOS 7.0+, Mac Catalyst 13.1+, macOS 10.9+, visionOS 1.0+]
path: "gss/gssnamecreatedisplaystring(_:)"
---

# GSSNameCreateDisplayString(_:)

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

## Declaration

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

## Parameters

- `name`: The GSS name from which to get the display string.

## Return Value

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

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

## See Also

### Creation and Destruction

- [gss_name_t](gss/gss_name_t.md)
- [gss_const_name_t](gss/gss_const_name_t.md)
- [gss_canonicalize_name(_:_:_:_:)](gss/gss_canonicalize_name(_:_:_:_:).md)
- [GSSCreateName(_:_:_:)](gss/gsscreatename(_:_:_:).md)
- [gss_release_name(_:_:)](gss/gss_release_name(_:_:).md)
