diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/userutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/userutil.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/userutil.h b/src/libs/dutil/WixToolset.DUtil/inc/userutil.h new file mode 100644 index 00000000..2c86d229 --- /dev/null +++ b/src/libs/dutil/WixToolset.DUtil/inc/userutil.h | |||
@@ -0,0 +1,32 @@ | |||
1 | #pragma once | ||
2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
3 | |||
4 | |||
5 | #ifdef __cplusplus | ||
6 | extern "C" { | ||
7 | #endif | ||
8 | |||
9 | HRESULT DAPI UserBuildDomainUserName( | ||
10 | __out_ecount_z(cchDest) LPWSTR wzDest, | ||
11 | __in int cchDest, | ||
12 | __in_z LPCWSTR pwzName, | ||
13 | __in_z LPCWSTR pwzDomain | ||
14 | ); | ||
15 | |||
16 | HRESULT DAPI UserCheckIsMember( | ||
17 | __in_z LPCWSTR pwzName, | ||
18 | __in_z LPCWSTR pwzDomain, | ||
19 | __in_z LPCWSTR pwzGroupName, | ||
20 | __in_z LPCWSTR pwzGroupDomain, | ||
21 | __out LPBOOL lpfMember | ||
22 | ); | ||
23 | |||
24 | HRESULT DAPI UserCreateADsPath( | ||
25 | __in_z LPCWSTR wzObjectDomain, | ||
26 | __in_z LPCWSTR wzObjectName, | ||
27 | __out BSTR *pbstrAdsPath | ||
28 | ); | ||
29 | |||
30 | #ifdef __cplusplus | ||
31 | } | ||
32 | #endif | ||