Tuxedo
0

Using Security in CORBA Applications

 Previous Next Contents Index View as PDF  

DISecurityLevel2_Current.get_attributes

Synopsis

Returns attributes for the Current interface.

MIDL Mapping

HRESULT get_attributes(
[in] VARIANT attributes,
[in,out,optional] VARIANT* exceptionInfo,
[out,retval] VARIANT* returnValue);

Automation Mapping

Function get_attributes(attributes, [exceptionInfo])

Parameters

attributes

The set of security attributes (privilege attribute types) whose values are desired. If this list is empty, all attributes are returned.

exceptioninfo

An optional input argument that allows the client application to get additional exception data if an error occurs. For the ActiveX client applications, all exception data is returned in the OLE Automation Error Object.

Description

This method gets privilege (and other) attributes from the credentials for the client application from the Current interface.

Return Values

A variant containing an array of DISecurity_SecAttribute objects. The following table describes the valid return values.

Return Value

Meaning

Security::Public

Empty (Public is returned when no authentication was performed.)

Security::AccessId

Null-terminated ASCII string containing the BEA Tuxedo username.

Security::PrimaryGroupId

Null-terminated ASCII string containing the BEA Tuxedo name of the client application.


 

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy