Server.RDSAccounts Property
Returns the list of Remote Desktop Services accounts.
Description
The RDSAccounts property provides access to the Remote Desktop Services accounts configured on the server. These accounts are used for authentication and remote session management.
Syntax
public IRDSAccounts RDSAccounts;
Property Value
Type: IRDSAccounts
Interface that represents the collection of RDS (Remote Desktop Services) accounts.
Example
Server server = new Server();
// Access RDS accounts
IRDSAccounts accounts = server.RDSAccounts;
// Check configured accounts
foreach (var account in accounts)
{
Console.WriteLine("RDS Account: " + account.Username);
}
See Also
- Server Class
- HideSection Method - To hide the RDS section
- ShowSection Method - To show the RDS section