Share via


IExecutionContext.User Property

Gets the user that can be used in an EXECUTE AS clause.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property User As IUser
    Get
'Usage
Dim instance As IExecutionContext
Dim value As IUser

value = instance.User
IUser User { get; }
property IUser^ User {
    IUser^ get ();
}
abstract User : IUser
function get User () : IUser

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IUser
The IUser object that represents a user name.