---
name: "IPropData_HrSetPropAccess"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/IPropData_HrSetPropAccess"
---

# IPropData\_HrSetPropAccess(3w)

## NAME

**IPropData\_HrSetPropAccess** (MAPI32.@)

## SYNOPSIS

static HRESULT IPropData\_HrSetPropAccess\
  (\
   LPPROPDATA      *iface*,\
   LPSPropTagArray *lpTags*,\
   ULONG\*          *lpAccess*\
  )

## DESCRIPTION

Set the access levels for a group of property values in an **IPropData** object.

## PARAMS

*iface* **\[In\]**  **IPropData** object to set access levels in.

*lpTags* **\[In\]**  List of property Id's to set access for.

*lpAccess* **\[Out\]**  Access level for each property in *lpTags*.

## RETURNS

**Success:** **S\_OK**. The access level of each property value in *lpTags* that is present in *iface* is changed.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid.

## NOTES

**-** Each access level in *lpAccess* must contain at least one of **IPROP\_READONLY** or **IPROP\_READWRITE**, but not both, and also **IPROP\_CLEAN** or **IPROP\_DIRTY**, but not both. No other bits should be set.

**-** If a property Id in *lpTags* is not present in *iface*, it is ignored.

## IMPLEMENTATION

Declared in **"mapiutil.h"**.

Implemented in **"dlls/mapi32/prop.c"**.

Debug channel **"mapi"**.
