ExecuteContext public class ExecuteContext : TSqlFragment Represents the security context for execute statements Documentation Code public ExecuteAsOption Kind { get; set; } Principal type - can be Login or User public ScalarExpression Principal { get; set; } The principal used to execute the statement public ExecuteContext()