Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.rights.context
Interface DomainAccount


public interface DomainAccount

A domain account. A domain account represents the role an account has within a domain.

Creation

Instances of Domain Account objects can be created using the following factory style method(s).

DomainAccount object = createDomainAccount(
    role,
    account);

Collections

Collections for DomainAccount objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing DomainAccount elements.

 Collection<DomainAccount> object = createDomainAccounts();

XML Serialization

Domain Account instances can be serialized as an XML document. This XML document can also be used to recreate a Domain Account object. The following XML document shows an example Domain Account in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<rights:DomainAccount xmlns:rights="http://xmlns.oracle.com/irm/rights">
    <role>ADMINISTRATOR</role>
    <account>
        <uuid>021d94da-3b5b-41c3-afb0-55135a7e5321</uuid>
    </account>
</rights:DomainAccount>


Method Summary
 Account getAccount()
          The account.
 Domain.Role getRole()
          The domain role.

 

Method Detail

getRole

Domain.Role getRole()
The domain role.
Returns:
the value of the property. This method will never return null.

getAccount

Account getAccount()
The account.
Returns:
the value of the property. This method will never return null.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.