WindowsUtilitiesGetUserProfileDirectory Method |
Gets the path to the root directory of the specified user's profile.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static string GetUserProfileDirectory(
IntPtr token,
bool throwOnError = true
)
Parameters
- token
- Type: SystemIntPtr
A token for the user. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
String
The path to the specified user's profile directory.
Exceptions See Also