public DeleteUser ( string objectId ) : Task |
||
objectId | string | |
Результат | Task |
private static void DeleteUser(string[] args) { if (args.Length <= 1) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Please include an objectId. Run B2CGraphShell Syntax to see examples."); Console.ForegroundColor = init; return; } object formatted = JsonConvert.DeserializeObject(client.DeleteUser(args[1]).Result); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine(JsonConvert.SerializeObject(formatted, Formatting.Indented)); }