Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ActiveDirectoryClient.PatchSpPasswordCredentials C# (CSharp) Method

PatchSpPasswordCredentials() private method

private PatchSpPasswordCredentials ( string spObjectId, List passwordCredentials ) : void
spObjectId string
passwordCredentials List
return void
        private void PatchSpPasswordCredentials(string spObjectId, List<PasswordCredential> passwordCredentials)
        {
            if (passwordCredentials == null)
            {
                passwordCredentials = new List<PasswordCredential>();
            }

            GraphClient.ServicePrincipals.UpdatePasswordCredentials(spObjectId, new PasswordCredentialsUpdateParameters(passwordCredentials));
        }