ADD_EXTENDED_USER_ATTRIBUTES EDIT_EXTENDED_USER_ATTRIBUTES

Extended User Attributes Services 9-3

9.2.1 ADD_EXTENDED_USER_ATTRIBUTES

Service adds extended attributes to a user. The user does not have to exist before using the service. If this service is asked to add extended attributes which already exist for the user, the service modifies the previous entries. Location: IdcHomeDircomponentsExtendedUserAttributesresourcesextendeduserattributes _services.htm Additional Required Service Parameters ■ dName: The user name. ■ ExtUserAttribInfo Resultset: A result set containing extended user attribution information. Optional Service Parameters ■ CheckUserMustExist: If set to true, a limited check is performed to verify that the user exists before extended attributes are added. This check only works for local users; it is not recommended to set this value for typical service calls. Example The following example from add_user_attr.txt illustrates the use of this service: Add a security group and an account to the users extended attributes with different applications Properties LocalData IdcService=ADD_EXTENDED_USER_ATTRIBUTES dName=jsmith end ResultSet ExtUserAttribInfo 3 dUserName dApplication AttributeInfo jsmith appl account,abcdef,15 jsmith app2 role,contributor,15 end

9.2.2 EDIT_EXTENDED_USER_ATTRIBUTES

Service edits extended user attributes for a user. The user does not have to exist before using the service. All previously extended attributes are replaced by the new extended attributes provided. Location: IdcHomeDircomponentsExtendedUserAttributesresourcesextendeduserattributes _services.htm Additional Required Service Parameters ■ dName: The user name. ■ ExtUserAttribInfo ResultSet: A result set containing extended user attribution information. 9-4 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Optional Service Parameters ■ CheckUserMustExist: If set to true, a limited check is performed to verify that the user exists before extended attributes are added. This check only works for local users; it is not recommended to set this value for typical service calls. Example The following example from edit_user_attr.txt illustrates the use of this service: Change the user to have all permissions with all Properties LocalData IdcService=EDIT_EXTENDED_USER_ATTRIBUTES dName=jsmith end ResultSet ExtUserAttribInfo 3 dUserName dApplication AttributeInfo jsmith appl account,\all,15 end

9.2.3 DELETE_EXTENDED_USER_ATTRIBUTES