---
title: NSFullUserName()
framework: foundation
role: symbol
role_heading: Function
path: foundation/nsfullusername()
---

# NSFullUserName()

Returns a string containing the full name of the current user.

## Declaration

```swift
func NSFullUserName() -> String
```

## Return Value

Return Value A string containing the full name of the current user.

## See Also

### Accessing user directories

- [homeDirectoryForCurrentUser](foundation/filemanager/homedirectoryforcurrentuser.md)
- [NSHomeDirectory()](foundation/nshomedirectory().md)
- [NSUserName()](foundation/nsusername().md)
- [homeDirectory(forUser:)](foundation/filemanager/homedirectory(foruser:).md)
- [NSHomeDirectoryForUser(_:)](foundation/nshomedirectoryforuser(_:).md)
- [temporaryDirectory](foundation/filemanager/temporarydirectory.md)
- [NSTemporaryDirectory()](foundation/nstemporarydirectory().md)
