Skip Headers
Oracle® Fusion Middleware Developer's Guide for Oracle IRM Server
11g Release 1 (11.1.1)

Part Number E12326-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to current chapter
Go to next page
PDF · Mobi · ePub

5.1 The AccountRef Type

This section contains the following topics:

5.1.1 About the AccountRef Type

The AccountRef type contains all the information needed to identify a user or group. Typically this type contains a GUID value, but also allows the user or group name to be used. The following code snippets show how to create an AccountRef using a GUID or a user name or a group name.

5.1.2 Creating an AccountRef Using a GUID

AccountRef accountReference = new AccountReference();

The GUID format may differ depending on the identity store used.

5.1.3 Creating an AccountRef Using a User Name

The user name must be URL encoded. For example, 'John Smith' could be encoded as 'John+Smith'.

AccountRef accountReference = new AccountReference();

5.1.4 Creating an AccountRef Using a Group Name

The group name must be URL encoded.

AccountRef accountReference = new AccountReference();