Version

UseDefaultCredentials Property

Gets or sets the value indicating whether one of the users should be the user currently logged on to the system.
Syntax
'Declaration
 
Public Property UseDefaultCredentials As Boolean
public bool UseDefaultCredentials {get; set;}
Remarks

UseDefaultCredentials can be used in conjunction with the Users collection. If it is, the logged in user will just be added as another user when connecting to the server.

When UseDefaultCredentials is True, the Resource created to represent the user will have a Id of "{domain}\{userName}" in lowercase.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also