Skip to content

Commit 3a87588

Browse files
committed
Atualiza credenciais e adiciona depuração no SharePoint
Adicionadas linhas de depuração no arquivo `RefreshSPOLists.cs` para exibir o nome de usuário e a senha utilizados na conexão com o SharePoint, facilitando a identificação de problemas durante a autenticação. Além disso, a string de conexão no arquivo `UserConfig.xml` foi atualizada, alterando o ID de usuário de `real_user` para `guilherme.sales` e a senha para `fCyj765ERtg%3"!`, refletindo as novas credenciais de acesso ao banco de dados.
1 parent 873866d commit 3a87588

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎SPOtoSQL-Snapshots/ConsoleApp1/SPODataQuality/RefreshSPOLists.cs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ private static void Main(string[] args)
2121

2222
// Retrieve SharePoint credentials (username and password) from a configuration source
2323
var (username, password) = ConfigurationReader.GetSharePointCredentials();
24+
Console.WriteLine($"Testing Conection with the username: {username}"); // Debug
25+
Console.WriteLine($"Testing Conection with the password: {password}"); // Debug
2426
SPOUser spoUser = new SPOUser(username, password); // Create a SharePoint user object
25-
Console.WriteLine("DEBUG: SPOUser criado");
27+
Console.WriteLine("DEBUG: SPOUser criado"); // When Username and Password are filled correctly, this line will be printed
2628

2729
// Initialize two SharePoint list objects and assign the user credentials to them
2830
var list1 = new SPOList();

0 commit comments

Comments
 (0)