2
//-------------------------------------------------------------------------------------------------
3
// <copyright file="userutil.h" company="Microsoft">
4
// Copyright (c) Microsoft Corporation. All rights reserved.
6
// The use and distribution terms for this software are covered by the
7
// Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
8
// which can be found in the file CPL.TXT at the root of this distribution.
9
// By using this software in any fashion, you are agreeing to be bound by
10
// the terms of this license.
12
// You must not remove this notice, or any other, from this software.
16
// User helper funtions.
18
//-------------------------------------------------------------------------------------------------
24
HRESULT DAPI UserBuildDomainUserName(
25
__out_ecount_z(cchDest) LPWSTR wzDest,
27
__in_z LPCWSTR pwzName,
28
__in_z LPCWSTR pwzDomain
31
HRESULT DAPI UserCheckIsMember(
32
__in_z LPCWSTR pwzName,
33
__in_z LPCWSTR pwzDomain,
34
__in_z LPCWSTR pwzGroupName,
35
__in_z LPCWSTR pwzGroupDomain,
36
__out LPBOOL lpfMember
39
HRESULT DAPI UserCreateADsPath(
40
__in_z LPCWSTR wzObjectDomain,
41
__in_z LPCWSTR wzObjectName,
42
__out BSTR *pbstrAdsPath