Share via


IProcessSecurityContext.Login Property

Gets or sets the name of the Microsoft Windows security account.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Property Login As String
    Get
    Set
'Usage
Dim instance As IProcessSecurityContext
Dim value As String

value = instance.Login

instance.Login = value
string Login { get; set; }
property String^ Login {
    String^ get ();
    void set (String^ value);
}
abstract Login : string with get, set
function get Login () : String
function set Login (value : String)

Property Value

Type: System.String
A String value.

Remarks

The Windows account must have sufficient privileges on the computer to start the replication agent. For more information, see Replication Agent Security Model.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.