static void Main(string[] args) { // Find your Account Sid and Auth Token at twilio.com/user/account const string accountSid = "accountSid"; const string authToken = "authToken"; const string serviceSid = "serviceSid"; const string userSid = "userSid"; // Retrieve user var client = new TwilioIpMessagingClient(accountSid, authToken); User user = client.GetUser(serviceSid, userSid); Console.WriteLine(user); }
static void Main(string[] args) { // Find your Account Sid and Auth Token at twilio.com/user/account const string accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; const string authToken = "your_auth_token"; const string serviceSid = "ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; const string userSid = "USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; // Retrieve user var client = new TwilioIpMessagingClient(accountSid, authToken); User user = client.GetUser(serviceSid, userSid); Console.WriteLine(user); }