Contents

NSUserName()

Returns the logon name of the current user.

Declaration

func NSUserName() -> String

Return Value

The logon name of the current user.

See Also

Accessing user directories