Can Access Method

This method is implemented by the following interfaces. Click one of the links below to jump to the description of the method as it pertains to that interface.

IERUAccessControl
IERUAccessStyle

 

 

CanAccess method

Returns whether a specified member has access rights to an object.

Syntax


C++

HRESULT CanAccess(
   IERUMember* MyMember,
   VARIANT_BOOL
CanAccess)

Scripting languages

Object.CanAccess(
   Member as IERUMember)

Parameters


MyMember

The member whose access rights are to be checked.

CanAccess

Upon return, TRUE if the member has access to the object, FALSE if not.

Return value


C++

The return code.

Scripting languages

Upon return, TRUE if the member has access to the object, FALSE if not.

 

Home

Applies to
IERUAccessStyle

See also
Controlling access

 

 

 

Go to Top
 

CanAccess method

Returns whether a specified member has the specified access mode rights to an object.

Syntax


C++

HRESULT CanAccess(
   IERUMember* MyMember,
   ERUAccessMode MyAccessMode,
   VARIANT_BOOL CanAccess)

Scripting languages

Object.CanAccess(
   MyMember as IERUMember,
   MyAccessMode as ERUAccessMode)

Parameters


MyMember

The member whose access rights are to be checked.

MyAccessMode

What type of access to check for, as an ERUAccessMode enumeration.

CanAccess

Upon return, TRUE if the member has the specified access to an object, FALSE if not.

Return value


C++

The return code.

Scripting languages

Upon return, TRUE if the member has the specified access to an object, FALSE if not.

Go to Top

Home

Applies to

IERUAccessControl

See also
Controlling access