# Function Reference

# _WinAPI_GetProfilesDirectory

Retrieves the path to the root directory where user profiles are stored

#include <WinAPIFiles.au3>
_WinAPI_GetProfilesDirectory ( )

## Return Value

Success: | The path to the directory.
Failure: | Empty string and sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search GetProfilesDirectory in MSDN Library.