SqlFunctions.UserName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UserName() |
Returns a database user name corresponding to a specified identification number. |
UserName(Nullable<Int32>) |
Returns a database user name corresponding to a specified identification number. |
UserName()
Returns a database user name corresponding to a specified identification number.
[System.Data.Entity.DbFunction("SqlServer", "USER_NAME")]
public static string UserName ();
static member UserName : unit -> string
Public Shared Function UserName () As String
Returns
The user name.
- Attributes
Applies to
UserName(Nullable<Int32>)
Returns a database user name corresponding to a specified identification number.
[System.Data.Entity.DbFunction("SqlServer", "USER_NAME")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static string UserName (Nullable<int> arg);
static member UserName : Nullable<int> -> string
Public Shared Function UserName (arg As Nullable(Of Integer)) As String
Parameters
Returns
The user name.
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework