# Function Reference

# _WinAPI_GetAllUsersProfileDirectory

Retrieves the path to the root of the directory that contains program data shared by all users

#include <WinAPIShellEx.au3>
_WinAPI_GetAllUsersProfileDirectory ( )

## Return Value

Success: | The path to the directory.
Failure: | Empty string, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search GetAllUsersProfileDirectory in MSDN Library.