Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAccessControl::SetAccessRights method

Replaces the existing access rights on an object with the specified list.

Syntax


HRESULT SetAccessRights(
  [in] PACTRL_ACCESSW pAccessList
);

Parameters

pAccessList [in]

A pointer to the ACTRL_ACCESS list that contains an array of access lists to be written to the object.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

IAccess.h

IDL

IAccess.idl

IID

IID_IAccessControl is defined as EEDD23E0-8410-11CE-A1C3-08002B2B8D8F

See also

IAccessControl

 

 

Show:
© 2017 Microsoft