Using Security in CORBA Applications
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Gets the attribute list attached to the credentials.
HRESULT get_attributes(
[in] VARIANT attributes,
[in,out,optional] VARIANT* exceptionInfo,
[out,retval] VARIANT* returnValue);
Function get_attributes(attributes, [exceptionInfo])
The set of security attributes (privilege attribute types) whose values are desired. If this list is empty, all attributes are returned.
This method returns the attribute list attached to the credentials of the client application. In the list of attribute types, you are required to include only the type value(s) for the attributes you want returned in the AttributeList
. Attributes are not currently returned based on attribute family or identities. In most cases, this is the same result you would get if you called DISecurityLevel2.Current::get_attributes()
, since there is only one valid set of credentials in the client application at any instance in time. The results could be different if the credentials are not currently in use.
A variant containing an array of DISecurity_SecAttribute
objects.
![]() ![]() |
![]() |
![]() |