CreateWithNewEndUserName(string endUserName)

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

Declaration

// C#
public OracleEndUserSecurityContext CreateWithNewEndUserName(string endUserName)

Parameters

Return Value

A new OracleEndUserSecurityContext with the updated end-user name.

Exceptions

ArgumentException - Thrown if endUserName 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: