GET_DEFAULT_ATTRIBUTES SET_EXTENDED_ATTRIBUTE_MAPPINGS

9-10 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Additional Required Service Parameters ■ dDefAttribs: The default attributes in the form of a comma-separated entry consisting of three items. Optional Service Parameters ■ dECPropSubKey: A second key; the default attributes will load for all users whether or not this key is specified. ■ IsSecureDefaultAttribute: When set to 1 and used with the databinder when using the default web services then it registers defaults that only apply to logged in users. By default, default attributes apply to all users, including anonymous. Example The following example from set_defs.txt illustrates the use of this service: Sets some default attributes for all users Properties LocalData IdcService=SET_DEFAULT_ATTRIBUTES dECPropSubKey=extprops dDefAttribs=account,abc,15 end

9.2.14 DELETE_DEFAULT_ATTRIBUTES

Service deletes some default attributes that will always be applied to a user. Location: IdcHomeDircomponentsExtendedUserAttributesresourcesextendeduserattributes _services.htm Optional Service Parameters ■ dECPropSubKey: A second key. If this parameter is not specified, the service will only remove the default attributes specified without a subkey; it will not remove other attributes. ■ IsSecureDefaultAttribute: If set to 1 and used with the databinder when using the default web services then it deletes defaults that only apply to logged in users. By default, default attributes apply to all users, including anonymous. Example The following example from del_defs.txt illustrates the use of this service: Deletes some default attributes for all users Properties LocalData IdcService=DELETE_DEFAULT_ATTRIBUTES dECPropSubKey=extprops end

9.2.15 GET_DEFAULT_ATTRIBUTES

This service returns the default attributes that are applied to all users in the ResultSet DEFAULT_ATTRIBUTES. Location: IdcHomeDircomponentsExtendedUserAttributesresourcesextendeduserattributes _services.htm Extended User Attributes Services 9-11 Optional Service Parameters ■ dECPropSubKey: If specified, it narrows the search for the default attributes to only the one matching that subkey. ■ IsSecureDefaultAttribute: If set to 1 and used with the databinder when using the default web services then it retrieves defaults that only apply to logged in users. By default, default attributes apply to all users, including anonymous. Example The following example from get_defs.txt illustrates the use of this service: Returns all default attributes for all users Properties LocalData IdcService=GET_DEFAULT_ATTRIBUTES end

9.2.16 SET_EXTENDED_ATTRIBUTE_MAPPINGS

Service sets mappings from one user attribute to another user attribute. Only mappings from roles to other attributes is supported mapping does not work when the source is an account. Location: IdcHomeDircomponentsExtendedUserAttributesresourcesextendeduserattributes _services.htm Additional Required Service Parameters ■ ExtUserAttribInfo: A result set containing extended user attribute information. Example The following example from set_attr_mapping.txt illustrates the use of this service: ?hda version=11gR1-dev jcharset=Cp1252 encoding=iso-8859-1? Add the contributor role to all users with the guest role, and then consequently give all users with the contributor role readwrite access to account abc. This does mean that users with the guest role ultimately end up with access to abc. Properties LocalData IdcService=SET_EXTENDED_ATTRIBUTE_MAPPINGS end ResultSet ExtUserAttribInfo 3 dAttributeName dApplication guest appl role,contributor,15 contributor app2 account,abc,3 end 9-12 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management

9.2.17 DELETED_EXTENDED_ATTRIBUTE_MAPPINGS