Creates a user defaults object initialized with the defaults for the specified user account.
- iOS 2.0–7.0Deprecated
- macOS 10.0–10.9Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
The name of the user account.
NSUser object whose argument and registration domains are already set up. If the current user does not have access to the specified user account, this method returns
This method doesn't put anything in the search list. Invoke it only if you’ve allocated your own
NSUser instance instead of using the shared one.
You do not normally use this method to initialize an instance of
NSUser. Applications used by a superuser might use this method to update the defaults databases for a number of users. The user who started the application must have appropriate access (read, write, or both) to the defaults database of the new user, or this method returns
This method was never implemented to do anything except return the defaults for the current user.