CreateWithNewEndUserName(string endUserName, string lookUpKey)

This method creates a new end-user security context with a replacement end-user name and lookup key while preserving all other values from the existing context.

Declaration

// C#
public OracleEndUserSecurityContext CreateWithNewEndUserName(string endUserName, string lookUpKey)

Parameters

Return Value

A new OracleEndUserSecurityContext with the updated end-user name and lookup key.

Exceptions

ArgumentException - Thrown if endUserName or lookUpKey is null or empty.

Remarks

This method:

The end-user name should be enclosed in double-quotes if the end user was declared using a quoted identifier.

See Also: