Instance Method インスタンスメソッド

homeDirectoryForUser:

Returns the home directory for the specified user. 指定されたユーザのホームディレクトリを返します。

Declaration 宣言

- (NSURL *)homeDirectoryForUser:(NSString *)userName;

Parameters パラメータ

userName

The username of the owner of the desired home directory. 要望されたホームディレクトリの所有者のユーザ名。

Return Value 戻り値

A URL object containing the location of the specified user’s home directory, or nil if no such user exists or the user’s home directory is not available. 指定されたユーザのホームディレクトリの場所を含んでいるURLオブジェクト、またはnil、もしそのようなユーザが存在しないまたはユーザのホームディレクトリが利用可能でないならば。

See Also 参照

Accessing User Directories ユーザディレクトリにアクセスする